# final-stream

> A tool to read a full stream and callback once finished with the data

Latest version **2.0.4** (published 2021-07-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install final-stream
pnpm add final-stream
yarn add final-stream
bun add final-stream
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.4 |
| Published | 2021-07-02 |
| First published | 2019-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | markwylde |

## Links

- npm: https://www.npmjs.com/package/final-stream
- Repository: https://github.com/markwylde/final-stream
- Homepage: https://github.com/markwylde/final-stream#readme
- Issues: https://github.com/markwylde/final-stream/issues
- npm.io page: https://npm.io/package/final-stream

## Recent versions

- 2.0.4 (latest) — 2021-07-02
- 2.0.3 — 2020-11-03
- 2.0.2 — 2020-11-03
- 2.0.1 — 2020-11-03
- 2.0.0 — 2020-09-20
- 1.1.1 — 2020-09-20
- 1.1.0 — 2020-02-21
- 1.0.2 — 2019-11-21
- 1.0.0 — 2019-11-21

## README

# Final Stream
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/markwylde/final-stream)
[![GitHub package.json version](https://img.shields.io/github/package-json/v/markwylde/final-stream)](https://github.com/markwylde/final-stream/releases)
[![GitHub](https://img.shields.io/github/license/markwylde/final-stream)](https://github.com/markwylde/final-stream/blob/master/LICENSE)

A tool to read a full stream and callback once finished with the data

## Example Usage
### With callbacks
```javascript
const finalStream = require('final-stream');
finalStream(request, function (error, result) {
  console.log(error, result.toString());
});
```

### With promises
```javascript
const finalStream = require('final-stream');
const result = await finalStream(request);
console.log(result.toString());
```

## License
This project is licensed under the terms of the MIT license.

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