0.0.0 • Published 10 years ago

transfer-bar v0.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

node-transfer-bar

Basic progress bar focused on downloads and uploads; inspired by pacman (arch linux package manager) and progress. This module is more specialized than progress, because it assumes your unit of progress is always a byte.

Usage

For basic usage, do:

var bar = require('transfer-bar');

var b = bar(/* total bytes */);
something.on('data', function (data) {
  b.update(data.length);
});

Test

To run all the tests, do:

npm test