Skip to content

djblue/node-transfer-bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-transfer-bar

Build Status

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

About

Simple down/up transfer/progress bar.

Resources

License

Stars

Watchers

Forks

Packages

No packages published