Releases: CodeLenny/Promise.bar
Releases · CodeLenny/Promise.bar
Fixed Dependencies
Added PromiseBar.end()
Added
PromiseBar.end()
stops Promise.bar from intercepting allstdout
messages.
Forgotten Assets
Improved documentation, updated out of date resource.
Hierarchy, Colors, Padded Labels
Added features: Progress bars can nest. Labels and progress bars can be colored.
Labels are padded to be equal length.
Added
- Progress Bar Hierarchy/Indentation
PromiseBar.all
stores a reference to the relatedProgress
in the returned PromiseProgress
finds progress-bar children on initializationProgress#indent
returns the indentation that should proceed the progress barProgress#draw
draws descendants
- Color Formatting
- ANSI codes are ignored when calculating bar length, so
label
and other fields can have color codes - Added
barFormat
option, which can transform the bar (add color, etc.)
- ANSI codes are ignored when calculating bar length, so
- Optionally pads labels to make labels an equal length.
- Documentation published to
gh-pages
.
Added omitted files.
Added omitted files.
Added
- Build system
.npmignore
file
First Release
First release.
Added
- Progress bars
- Stuck progress bars under
stdout
messages