pull-stream-to-stream

2.0.0 • Public • Published

pull-stream-to-stream

turn a pull-stream into a regular node stream.

example

var toStream = require('pull-stream-to-stream')
 
//if the pull-stream is duplex (an object with two streams: {source, sink})
 
stream = toStream(pullDuplex)
 
//if the stream is a sink ("writable")
stream = toStream.sink(pullSink)
 
//if the stream is a source ("readable")
 
stream = toStream.source(pullSource)
 

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i pull-stream-to-stream

Weekly Downloads

1,807

Version

2.0.0

License

MIT

Unpacked Size

23.2 kB

Total Files

13

Last publish

Collaborators

  • dignifiedquire
  • dominictarr
  • arj03