package
Render an ascii-art progress bar for a stream of a known size.
npm install progressbar-streamGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Wrapper for progress and progress-stream
Render an ascii progress bar to display stream progress.
npm install progressbar-streamvar progress = require('progressbar-stream');
var input = fs.createReadStream('file.txt');
var length = fs.statSync('file.txt').size;
input.pipe(progress({total: length}).pipe(...);var progress = require('progressbar-stream');
var inputs = [1, 2, 3, 4, 5, 6, 7];
from(inputs).pipe(progress({chunks: inputs.length})).pipe(...);Estimated unpacked size across 6 packages.
304.4 kB
Includes dependencies.