merge-stream-in-chunks

0.2.2 • Public • Published

merge-stream-in-chunks

build & test

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:

  • 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.

Readme

Keywords

Package Sidebar

Install

npm i merge-stream-in-chunks

Weekly Downloads

2

Version

0.2.2

License

MIT

Unpacked Size

6.13 kB

Total Files

6

Last publish

Collaborators

  • andreiled