https://github.com/swiftcarrot/stream-progressbar
Simple progress bar for node stream
https://github.com/swiftcarrot/stream-progressbar
node-streams progress-bar
Last synced: 10 days ago
JSON representation
Simple progress bar for node stream
- Host: GitHub
- URL: https://github.com/swiftcarrot/stream-progressbar
- Owner: swiftcarrot
- License: mit
- Created: 2015-08-30T12:23:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-02-02T03:25:48.000Z (about 5 years ago)
- Last Synced: 2025-04-13T13:02:01.933Z (20 days ago)
- Topics: node-streams, progress-bar
- Language: JavaScript
- Homepage: https://www.npmjs.com/stream-progressbar
- Size: 18.6 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stream-progressbar
Simple progress bar for node stream with [progress](https://www.npmjs.com/package/progress)
```sh
npm install stream-progressbar --save
yarn add stream-progressbar
```#### Usage
```javascript
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