Break up a stream and reassemble it so that each line is a chunk. split2 is inspired by @dominictarr split module, and it is totally API compatible with it. However, it is based on Node.js core Transform.
mcollina/split2 的主要功能包括:Stream Utilities。
mcollina/split2 的开源替代品包括: bendrucker/stream-to-promise — ``sh npm install --save stream-to-promise ``. dominictarr/event-stream — EventStream is like functional programming meets IO. dominictarr/jsonstream — rawStream.pipe(JSONStream.parse()).pipe(streamOfObjects). dominictarr/map-stream. dominictarr/split. almost/through2-concurrent — Simple Node.JS stream (streams2) Transform that runs the transform functions concurrently (with a set max concurrency).
`sh npm install --save stream-to-promise `
EventStream is like functional programming meets IO
rawStream.pipe(JSONStream.parse()).pipe(streamOfObjects)
Simple Node.JS stream (streams2) Transform that runs the transform functions concurrently (with a set max concurrency)