1.0.0 • Published 4 years ago

custom-bar v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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