with-ease-progress 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +17 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,6 +8,23 @@ Smooth progress tracking for async tasks in JavaScript/TypeScript.
8
8
 
9
9
  This small utility ensures a minimum progress duration and smooth updates, perfect for tracking task progress in a user-friendly way.
10
10
 
11
+ ## Demo
12
+
13
+ <table>
14
+ <tr>
15
+ <td><b>Before</b></td>
16
+ <td><b>After</b> <code>{ minDuration: 2000 } // 2s</code></td>
17
+ </tr>
18
+ <tr>
19
+ <td>
20
+ <img src="assets/before.gif" alt="Avant" width="320" />
21
+ </td>
22
+ <td>
23
+ <img src="assets/after.gif" alt="Après" width="320" />
24
+ </td>
25
+ </tr>
26
+ </table>
27
+
11
28
  ## Installation
12
29
 
13
30
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "with-ease-progress",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Smooth progress tracking for async tasks",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",