progger

1.0.1 • Public • Published

NPM version Dependency Status Downloads

Progger

Colorful CLI progress meter for events of unknown time & magnitude.

For example, this could be useful if you have a series of http requests and you want to indicate activity but you can't display a percent meter because it's impossible to know at what point data will be returned.

Example

var Progger = require('progger');
 
var p = new Progger({
  speed: 50,
  token: '*',
  color: 'red'
});
 
p.start();
 
setTimeout(function() {
  p.stop();
}, 5000);

Methods

var launcher = require('launcher')

start()

Starts a progress ticker in your terminal.

stop()

Stops the progress ticker.

isRunning()

Returns boolean for ticker status

Install

npm install progger

License

Released under the MIT License.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i progger

      Weekly Downloads

      5

      Version

      1.0.1

      License

      MIT

      Last publish

      Collaborators

      • okize