40 lines
807 B
Markdown
40 lines
807 B
Markdown
# download-status [](https://travis-ci.org/kevva/download-status)
|
|
|
|
> Progress bar plugin for download
|
|
|
|

|
|
|
|
|
|
## Install
|
|
|
|
```
|
|
$ npm install --save download-status
|
|
```
|
|
|
|
|
|
## Usage
|
|
|
|
```js
|
|
var Download = require('download');
|
|
var downloadStatus = require('download-status');
|
|
|
|
var download = new Download({extract: true, strip: 1})
|
|
.get('http://example.com/file.zip')
|
|
.dest('dest')
|
|
.use(downloadStatus())
|
|
.run();
|
|
```
|
|
|
|
|
|
## API
|
|
|
|
### downloadStatus(options)
|
|
|
|
Pass in [options](https://github.com/tj/node-progress#options) to customize
|
|
the look of the progress bar.
|
|
|
|
|
|
## License
|
|
|
|
MIT © [Kevin Mårtensson](http://kevinmartensson.com)
|