progressbar-stream

0.0.2 • Public • Published

ProgressBar-Stream

Wrapper for progress and progress-stream

Render an ascii progress bar to display stream progress.

Installation

npm install progressbar-stream

Usage

var progress = require('progressbar-stream');
 
var input = fs.createReadStream('file.txt');
var length = fs.statSync('file.txt').size;
input.pipe(progress({total: length}).pipe(...);

Usage on Object Streams

var progress = require('progressbar-stream');
 
var inputs = [1, 2, 3, 4, 5, 6, 7];
from(inputs).pipe(progress({chunks: inputs.length})).pipe(...);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i progressbar-stream

Weekly Downloads

1

Version

0.0.2

License

Apache 2.0

Last publish

Collaborators

  • willscott