1.0.0 • Published 8 years ago

psuedo-progress v1.0.0

Weekly downloads
4
License
MPL-2.0
Repository
github
Last release
8 years ago

Pseudo Progress

from the original source:

A pseudo progress indicator.

This is just a silly shell animation that was meant to simulate how lots of
tests would be run on an add-on file. It sort of looks like a torrent file
randomly getting filled in.

example usage gif

usage

const PseudoProgress = require('./index.js');

const p = new PseudoProgress({
  preamble: 'Testing PseudoProgress', // message to show the user before animation. defaults to ''
  setInterval: setInterval, // optionally override setInterval
  clearInterval: clearInterval, // optionally override clearInterval
  stdout: process.stdout // optionally overide process.stdout
});

p.animate();

setTimeout(() => p.finish(), 4000);

attribution

pulled from mozilla/jpm

original author is @kumar303

License

MPL 2.0