is-pull-stream
check what sort of pull-stream a thing is.
Last updated 11 years ago by dominictarr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-pull-stream 
SYNC missed versions from official npm registry.

is-pull-stream

check what sort of pull-stream a thing is.

api

isSource (stream)

return true if stream is a source.

isSink (stream)

return true if stream is a sink.

isDuplex (stream)

return true if stream is a duplex steam.

through

a through stream is a sink that returns a source, so don't know if it's not a sink until you pass a source to it.

License

MIT

Current Tags

  • 0.0.0                                ...           latest (11 years ago)

1 Versions

  • 0.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 2
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE