Skip to content

pull-stream/pull-stream-to-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

turn a pull-stream into a regular node stream

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •