开发者社区> 镜像站> NPM> streamception
streamception
yo dawg, I heard you liked streams, so I put some streams in your streams
Last updated 5 years ago by cwmma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install streamception 
SYNC missed versions from official npm registry.

Streamception

Xzibit

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.

Infinite cats

MIT License

Current Tags

  • 1.1.2                                ...           latest (5 years ago)

4 Versions

  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (3)
Dependents (1)