npm.io
1.0.0 • Published 6 years ago

custom-bar

Licence
ISC
Version
1.0.0
Deps
0
Size
1 kB
Vulns
0
Weekly
0

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