Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 593 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 593 Bytes

ascii-progressbar

A simple graphical ascii progressbar written in JS

Usage

var progressbar = require('ascii-progressbar');
progressbar.setConfig(
    "text:Progress",    // text to display to the left of the progressbar
    "indicator:🟩",      // progress indicator (you can use any char also emoji)
    "pLength:10"        // Progressbar length
);
progressbar.setProgress(50); // set progress of the progressbar

Installation

npm i ascii-progressbar

Output

alt text