JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5405
  • Score
    100M100P100Q133083F
  • License MIT

Package Exports

  • pull-stream-to-stream

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pull-stream-to-stream) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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