# co-concat-stream

> Concat stream content, generator style

Latest version **0.0.1** (published 2014-05-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install co-concat-stream
pnpm add co-concat-stream
yarn add co-concat-stream
bun add co-concat-stream
```

## 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.1 |
| Published | 2014-05-10 |
| First published | 2014-05-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Bence Dányi |
| Maintainers | lennon |
| Keywords | co, stream, concat, es6 |

## Links

- npm: https://www.npmjs.com/package/co-concat-stream
- Repository: https://github.com/madbence/co-concat-stream
- Issues: https://github.com/madbence/co-concat-stream/issues
- npm.io page: https://npm.io/package/co-concat-stream

## Dependencies (1)

- [co-read](https://npm.io/package/co-read.md) 0.0.2

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2014-05-10
- 0.0.0 — 2014-05-10

## README

# co-concat-stream

Concat stream contents, generator-style.

## Install

```
$ npm install co-concat-stream
```

## Usage

```js
var concat = require('co-concat-stream');

var content = yield* concat(fs.createReadStream(file))
```

## API

### concat(stream, opts)

Creates a generator, that yields with the content of the stream.
It stops reading after `opts.limit` bytes.

## License

MIT

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