stream-to-pull-stream

convert a stream1 or streams2 stream into a pull-stream

npm install stream-to-pull-stream
27 downloads in the last day
203 downloads in the last week
555 downloads in the last month

stream-to-pull-stream

Convert a classic-stream, or a new-stream into a pull-stream

example

var toPullStream = require('stream-to-pull-stream')
var pull = require('pull-stream')

toPullStream(fs.createReadStream(__filename))
  .pipe(pull.map(function (e) { return e.toString().toUpperCase() }))
  .pipe(toPullStream(process.stdout))

License

MIT

npm loves you