Releases: CodeLenny/Promise.bar
Releases · CodeLenny/Promise.bar
Fixed Dependencies
Added PromiseBar.end()
Added
PromiseBar.end()stops Promise.bar from intercepting allstdoutmessages.
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.allstores a reference to the relatedProgressin the returned PromiseProgressfinds progress-bar children on initializationProgress#indentreturns the indentation that should proceed the progress barProgress#drawdraws descendants
- Color Formatting
- ANSI codes are ignored when calculating bar length, so
labeland other fields can have color codes - Added
barFormatoption, 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
.npmignorefile
First Release
First release.
Added
- Progress bars
- Stuck progress bars under
stdoutmessages