1.0.16 • Published 2 years ago
indicator-text v1.0.16
indicator-text
Library for displaying progress-bar in text format.
All products of ФОЗАН inc. on the site: click here
Table of Contents
Features
- Display as a number with a percentage.
- Display with a progress bar in the style of squares.
- Display with a progress bar in the style of stars.
Installing
Using npm:
$ npm install indicator-text
Example
To connect the library indicator-text, enter the following text:
const progress = require('indicator-text');
Executing number
&squares
&stars
request
const progress = require('indicator-text');
var res1 = progress.number(1, 100);
var res2 = progress.squares(1, 100);
var res3 = progress.stars(1, 100);
console.log(res1, res2, res3); //1% ▫▫▫▫▫▫▫▫▫▫ ☆☆☆☆☆