streamception
v1.1.2
Published
yo dawg, I heard you liked streams, so I put some streams in your streams
Downloads
12
Readme
Streamception
npm install --save streamception
Flattens out a stream of streams those streams can emit streams, which can emit streams all the way down.
API: pipe in an object stream non stream items get passed through, if an object is a stream then it's objects are passed through instead, ditto if any of those are streams. We test for the presence of a pipe method to figure out if something is a stream.
Should correctly handle back pressure even in deeply nested streams.
MIT License