@mpen/progressbar 0.1.0 → 0.1.2
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.
- package/dist/index.d.mts +22 -1
- package/dist/index.mjs +23 -2
- package/package.json +6 -1
package/dist/index.d.mts
CHANGED
|
@@ -18,11 +18,32 @@ declare const ProgressBarPartialBlocks: {
|
|
|
18
18
|
/**
|
|
19
19
|
* Bottom-to-top block segments.
|
|
20
20
|
*/
|
|
21
|
-
readonly
|
|
21
|
+
readonly grow: "▁▂▃▄▅▆▇█";
|
|
22
22
|
/**
|
|
23
23
|
* Light-to-heavy shade segments.
|
|
24
24
|
*/
|
|
25
25
|
readonly shades: "░▒▓█";
|
|
26
|
+
/**
|
|
27
|
+
* Vertical center-out expansion.
|
|
28
|
+
*
|
|
29
|
+
* Sparse → centered → full.
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Heavy centered vertical expansion.
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* Braille density progression.
|
|
36
|
+
*
|
|
37
|
+
* Useful for very fine-grained fills.
|
|
38
|
+
*/
|
|
39
|
+
readonly braille: "⠁⠃⠇⡇⡏⡟⡿⣿";
|
|
40
|
+
readonly braille2: "⠂⠆⠇⡇⡗⡷⡿⣿";
|
|
41
|
+
readonly braille3: "⠁⠑⠕⢕⢝⢟⢿⣿";
|
|
42
|
+
/**
|
|
43
|
+
* Box-drawing density progression.
|
|
44
|
+
*/
|
|
45
|
+
readonly thatched: "│║╫█";
|
|
46
|
+
readonly amstrad: "▘▖▍▚▞▛▙▉";
|
|
26
47
|
};
|
|
27
48
|
/**
|
|
28
49
|
* Built-in fractional progress bar segment character sets.
|
package/dist/index.mjs
CHANGED
|
@@ -20,11 +20,32 @@ const ProgressBarPartialBlocks = {
|
|
|
20
20
|
/**
|
|
21
21
|
* Bottom-to-top block segments.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
grow: "▁▂▃▄▅▆▇█",
|
|
24
24
|
/**
|
|
25
25
|
* Light-to-heavy shade segments.
|
|
26
26
|
*/
|
|
27
|
-
shades: "░▒▓█"
|
|
27
|
+
shades: "░▒▓█",
|
|
28
|
+
/**
|
|
29
|
+
* Vertical center-out expansion.
|
|
30
|
+
*
|
|
31
|
+
* Sparse → centered → full.
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Heavy centered vertical expansion.
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Braille density progression.
|
|
38
|
+
*
|
|
39
|
+
* Useful for very fine-grained fills.
|
|
40
|
+
*/
|
|
41
|
+
braille: "⠁⠃⠇⡇⡏⡟⡿⣿",
|
|
42
|
+
braille2: "⠂⠆⠇⡇⡗⡷⡿⣿",
|
|
43
|
+
braille3: "⠁⠑⠕⢕⢝⢟⢿⣿",
|
|
44
|
+
/**
|
|
45
|
+
* Box-drawing density progression.
|
|
46
|
+
*/
|
|
47
|
+
thatched: "│║╫█",
|
|
48
|
+
amstrad: "▘▖▍▚▞▛▙▉"
|
|
28
49
|
};
|
|
29
50
|
/**
|
|
30
51
|
* Render an updating progress bar to stdout.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpen/progressbar",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Terminal progress bar utilities.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -28,5 +28,10 @@
|
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "bun run --bun tsdown",
|
|
30
30
|
"dev": "bun src/dev.ts"
|
|
31
|
+
},
|
|
32
|
+
"publishHash": {
|
|
33
|
+
"buildDate": "2026-05-30T16:56:17.900-07:00",
|
|
34
|
+
"hgChangesetId": "60958a12c122+",
|
|
35
|
+
"sha256": "19225b3e8575709eb3bcaaf022ce21a3af324ee9425bbfc154895bb752b75a84"
|
|
31
36
|
}
|
|
32
37
|
}
|