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.
For basic usage, do:
var bar = require('transfer-bar');
var b = bar(/* total bytes */);
something.on('data', function (data) {
b.update(data.length);
});
To run all the tests, do:
npm test