Package Exports
- string-progressbar
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (string-progressbar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
About
String Progressbar is a customizable progress bar generator manily made for discord bots that are made in Discord.js and Eris. It generates string so its pretty much usable everywhere.
Advantages
- Simple
- Lightweight
- Fully customizable
Installation
npm install string-progressbarUsage
const createBar = require('string-progressbar');
// assaign values to total and current
var total = 100;
var current = 50;
// Call the createBar method, first two arguments are mandatory
// size (length of bar) default to 40, line default to '▬' and slider default to 🔘
createBar(total, current, size, line, slider);
// There you go, now you have progress bar and percentage returned in an array as stringPreview

Links
Show your support
Give a ⭐️ if this project helped you!
📝 License
This project is MIT licensed.

