Transform stream that lets you peek the first line before deciding how to parse it
The main features of mafintosh/peek-stream are: Control Flow Utilities, Stream Utilities.
Open-source alternatives to mafintosh/peek-stream include: hughsk/from2 — Convenience wrapper for ReadableStream, with an API lifted from "from" and "through2". mafintosh/duplexify — Turn a writable and readable stream into a streams2 duplex stream with support for async initialization and… almost/through2-concurrent — Simple Node.JS stream (streams2) Transform that runs the transform functions concurrently (with a set max concurrency). feross/multistream — A stream that emits multiple other streams one after another (streams3). jahewson/node-byline — Line-by-line Stream reader for node.js. mafintosh/pumpify — Combine an array of streams into a single duplex stream using pump and duplexify.
A stream that emits multiple other streams one after another (streams3)
Convenience wrapper for ReadableStream, with an API lifted from "from" and "through2"
Simple Node.JS stream (streams2) Transform that runs the transform functions concurrently (with a set max concurrency)