is-pull-stream
check what sort of pull-stream a thing is.
Last updated 10 years ago by dominictarr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (10 years ago)

1 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |