push-stream-to-pull-stream

wrap a push-stream into a pull-stream, for source, sink, and duplex.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
push-stream-to-pull-stream
501.0.53 years ago6 years agoMinified + gzip package size for push-stream-to-pull-stream in KB

Readme

push-stream-to-pull-stream
wrap a push-stream into a pull-stream, for source, sink, and duplex.
var toPull = require('push-stream-to-pull-stream')
var Values = require('push-stream/values')

pull(
  toPull.source(new Values([1,2,3])),
  pull.drain(console.log)
)

generally, we follow the same api as stream-to-pull-stream

License

MIT