ezprogressbar
v1.1.0
Published
An easy progress bar generator for CLI based applications.
Downloads
3
Readme
EzProgressbar
An easy progress bar generator for CLI based applications.
Here's how to use it:
const progressbar = require("ezprogressbar")
console.log(progressbar(2, 10)) // 20% filled progress bar, length of 10 chars.
console.log(progressbar(5, 10, 50)) // 50% filled progress bar, length of 50 chars.
console.log(progressbar(30, 100)) // 30% filled progress bar, length of 10 chars.
Here's a guide about the progressbar function:
progressbar(fillValue, totalValue, charLength) // All values must be numbers.
That's it! Easy and fast. Happy coding!
Made by Daniloch.