An open API service indexing awesome lists of open source software.

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

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