Skip to content

swiftcarrot/stream-progressbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stream-progressbar

Simple progress bar for node stream with progress

npm install stream-progressbar --save
yarn add stream-progressbar

Usage

var fs = require('fs');
var request = require('request');
var progress = require('stream-progressbar');

request('http://cachefly.cachefly.net/10mb.test')
  .pipe(progress(':bar'))
  .pipe(fs.createWriteStream('10mb.test'));

License

MIT