# @vimlet/commons-request

> Request utils

Latest version **0.0.7** (published 2019-03-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vimlet/commons-request
pnpm add @vimlet/commons-request
yarn add @vimlet/commons-request
bun add @vimlet/commons-request
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2019-03-14 |
| First published | 2019-03-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vimlet |
| Maintainers | devsvimlet, lethevimlet |
| Keywords | download |

## Links

- npm: https://www.npmjs.com/package/@vimlet/commons-request
- Repository: https://github.com/vimlet/VimletCommons
- Homepage: https://github.com/vimlet/VimletCommons#readme
- Issues: https://github.com/vimlet/VimletCommons/issues
- npm.io page: https://npm.io/package/@vimlet/commons-request

## Dependencies (4)

- [glob](https://npm.io/package/glob.md) 7.1.2
- [request](https://npm.io/package/request.md) 2.85.0
- [fs-extra](https://npm.io/package/fs-extra.md) 5.0.0
- [@vimlet/commons-progress](https://npm.io/package/@vimlet/commons-progress.md) 0.0.7

## Recent versions

- 0.0.7 (latest) — 2019-03-14
- 0.0.6 — 2019-03-13
- 0.0.5 — 2019-03-11
- 0.0.4 — 2019-03-08

## README

# Request

Request manager.

## Installation

npm install @vimlet/commons-request

It will be also installed as a module within @vimlet/commons

## Usage

>## request.download(url, dest, options, doneHandler)
>
>Downloads a file.
>* url: The URL source to download. 
>* dest: he place where the downloaded file will be stored.
>* options:
>1. downloadHandler: A progress callback `function(received, total, statusCode)`.
>2. outputHandler: Default output callback `function(out)`, redirects stdout when provided.
>* doneHandler: Default done callback `function(error, status)`.

## License
This project is under MIT License. See [LICENSE](https://github.com/vimlet/vimlet-commons/blob/master/LICENSE) for details.

---
_Source: https://npm.io/package/@vimlet/commons-request · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
