npm.io
0.2.2 • Published 5 years ago

merge-stream-in-chunks

Licence
MIT
Version
0.2.2
Deps
0
Size
6 kB
Vulns
0
Weekly
0

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.

Keywords