psuedo-progress

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i psuedo-progress

Weekly Downloads

0

Version

1.0.0

License

MPL-2.0

Last publish

Collaborators

  • meandave