Colorful progress meter for events of unknown time & magnitude
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
lib
.gitignore
.npmignore
LICENSE.md
README.md
package.json

README.md

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.