Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

custom-bar

zechaos2ISC1.0.0

Make simple progress bar

readme

Custom-bar

How to install

In your console run npm i custom-bar

How to use

bar(currectValue,MaxValue,BarSize,show,FillBar, EmptyBar)

show, FillBar and EmptyBar is optionnal

const progressbar = require('custom-bar')

console.log(progressbar.bar(90,100,10)); // output █████████▁
console.log(test.bar(90,100,10,false,'⬜', '⬛')) // output ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛
console.log(test.bar(90,100,10,true,'⬜', '⬛')) // output ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛ 90/100