push-stream-to-pull-stream

1.0.5 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    95
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.5
    95
  • 1.0.4
    0
  • 1.0.3
    16
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i push-stream-to-pull-stream

Weekly Downloads

111

Version

1.0.5

License

MIT

Unpacked Size

10.8 kB

Total Files

11

Last publish

Collaborators

  • dominictarr
  • arj03