# merge-stream-in-chunks

> Merge several output streams minimizing data shuffling between the streams producing output in parallel

Latest version **0.2.2** (published 2021-06-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install merge-stream-in-chunks
pnpm add merge-stream-in-chunks
yarn add merge-stream-in-chunks
bun add merge-stream-in-chunks
```

## 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.2.2 |
| Published | 2021-06-15 |
| First published | 2020-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrey Shevtsov |
| Maintainers | andreiled |
| Keywords | stream, merge |

## Links

- npm: https://www.npmjs.com/package/merge-stream-in-chunks
- Repository: https://github.com/andreiled/merge-stream-in-chunks
- Homepage: https://github.com/andreiled/merge-stream-in-chunks#readme
- Issues: https://github.com/andreiled/merge-stream-in-chunks/issues
- npm.io page: https://npm.io/package/merge-stream-in-chunks

## 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

- 0.2.2 (latest) — 2021-06-15
- 0.2.1 — 2021-05-15
- 0.2.0 — 2020-08-28
- 0.1.6 — 2020-08-16
- 0.1.5 — 2020-07-19
- 0.1.4 — 2020-06-24
- 0.1.3 — 2020-06-24
- 0.1.2 — 2020-06-23
- 0.1.1 — 2020-06-23
- 0.1.0 — 2020-06-22

## README

# merge-stream-in-chunks
![build & test](https://github.com/andreiled/merge-stream-in-chunks/workflows/build%20&%20test/badge.svg)

Merge several input streams into one while also minimizing mixing data between the streams producing output in parallel.

## Description

Key features comparing to other similar modules like [merge-stream](https://www.npmjs.com/package/merge-stream):
* *Planned* - Hold off pushing data from an input stream to the merged stream until a chunk of sufficient size is accumulated
or a sufficient time has passed in order to minimize mixing lines from multiple inputs together.
* Print a header identifying the input stream (as provided when adding each separate input stream to the merged stream)
before each uninterrupted series of chunks of data from a given input stream.
* Prepend specified prefix before each line of data from each of the input streams.

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