# request-stream-promise

> Promise for streamed downloads using request

Latest version **2.1.8** (published 2019-11-12) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install request-stream-promise
pnpm add request-stream-promise
yarn add request-stream-promise
bun add request-stream-promise
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.8 |
| Published | 2019-11-12 |
| First published | 2019-07-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | ^10.0.0 |
| Dependencies | 2 |
| Unpacked size | 37.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Holvonix LLC |
| Maintainers | holvonix-bot |
| Keywords | request, promise, stream, pipe |

## Links

- npm: https://www.npmjs.com/package/request-stream-promise
- Repository: https://github.com/holvonix-open/request-stream-promise
- Homepage: https://github.com/holvonix-open/request-stream-promise#readme
- Issues: https://github.com/holvonix-open/request-stream-promise/issues
- npm.io page: https://npm.io/package/request-stream-promise

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.88.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.5.5

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 2.1.8 (latest) — 2019-11-12
- 2.1.7 — 2019-11-12
- 2.1.6 — 2019-08-28
- 2.1.5 — 2019-08-10
- 2.1.4 — 2019-08-10
- 2.1.3 — 2019-08-01
- 2.1.2 — 2019-08-01
- 2.1.1 — 2019-08-01
- 2.1.0 — 2019-07-20
- 2.0.0 — 2019-07-14
- 0.2.1 — 2019-07-09
- 0.2.0 — 2019-07-09
- 0.1.4 — 2019-07-08

## README

# request-stream-promise - Promise for streamed downloads using request

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE) [![npm](https://img.shields.io/npm/v/request-stream-promise.svg)](https://www.npmjs.com/package/request-stream-promise) [![Build Status](https://travis-ci.com/holvonix-open/request-stream-promise.svg?branch=master)](https://travis-ci.com/holvonix-open/request-stream-promise) [![GitHub last commit](https://img.shields.io/github/last-commit/holvonix-open/request-stream-promise.svg)](https://github.com/holvonix-open/request-stream-promise/commits) [![codecov](https://codecov.io/gh/holvonix-open/request-stream-promise/branch/master/graph/badge.svg)](https://codecov.io/gh/holvonix-open/request-stream-promise) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=holvonix-open/request-stream-promise)](https://dependabot.com) [![DeepScan grade](https://deepscan.io/api/teams/4465/projects/6260/branches/51418/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=4465&pid=6260&bid=51418) [![Code Style: Google](https://img.shields.io/badge/code%20style-google-blueviolet.svg)](https://github.com/google/gts) [![npm bundle size](https://img.shields.io/bundlephobia/min/request-stream-promise.svg)](https://bundlephobia.com/result?p=request-stream-promise) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)


## Quick Start

After `yarn add request request-stream-promise':

````typescript
import * as request from 'request';
import { download } from 'request-stream-promise';
import * as fs from 'fs';

async function getIt() {
  // The file is streamed internally.
  await download(
    request.get('https://example.com/aVeryLargeFile.txt'), '/tmp/file.txt'
  );
  // etc.
  console.log(fs.readFileSync('/tmp/file.txt', 'utf-8'));
}
````


## License

Read the [LICENSE](LICENSE) for details.  
The entire [NOTICE](NOTICE) file serves as the NOTICE that must be included under
Section 4d of the License.

````

# request-stream-promise

This product contains software originally developed by Holvonix LLC.
Original Repository: https://github.com/holvonix-open/request-stream-promise

Copyright (c) 2019 Holvonix LLC. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this software except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependencies may have their own licenses.

````

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