progress-bar-formatter
Progress bar formatter
Example
var ProgressBarFormatter = ; var bar = ;console;// ##########··············
Options:
- complete - String
The character that shows completion progress. Default is#
. - incomplete - String
The character that shows the remaining progress. Default is·
. - length - Number
The length of the progress bar. Default is24
.
Formatter#format(progress) : String
Formats the progress bar. progress
is a number between 0 and 1.