1.0.1 • Published 9 months ago

multi-bars v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

multi-bars

npm shield node shield

Usage

Install with npm: npm install multi-bars

// require the library
var MultiBars = require("multi-bars");

// spawn an instance with the optional stream to write to
var multi = new MultiBars(process.stderr);

// create a progress bar
var bar = multi.newBar("downloading [:bar] :percent :eta :something", {
  complete: "=",
  incomplete: " ",
  width: 30,
  total: size,
  tokens: { something: 1 },
  spinner: "moon",
});
bar.tick();

spinners

list of spinners on spinners

1.0.1

9 months ago

1.0.0

9 months ago