Wondering what’s next for npm?Check out our public roadmap! »

    string-progressbar
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.3 • Public • Published

    progressbar


    Discord server NPM downloads

    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-progressbar

    Usage

    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 string

    Preview

    Progress Bar

    Links

    Show your support

    Give a ⭐️ if this project helped you!

    📝 License

    This project is MIT licensed.

    Install

    npm i string-progressbar

    DownloadsWeekly Downloads

    602,457

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.77 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar