{"name":"stream-to-pull-stream","description":"convert a stream1 or streams2 stream into a pull-stream","version":"1.6.2","homepage":"https://github.com/dominictarr/stream-to-pull-stream","repository":{"type":"git","url":"git://github.com/dominictarr/stream-to-pull-stream.git"},"dependencies":{"pull-core":"~1.0.0","pull-stream":"^2.27.0"},"devDependencies":{"through":"~2.3.4","tape":"~2.13.1","pull-stream":"~2.23.0"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"d18ad3c13b6b0cf4b0ef24d33857f634ead73c7b","bugs":{"url":"https://github.com/dominictarr/stream-to-pull-stream/issues"},"_id":"stream-to-pull-stream@1.6.2","_shasum":"9ecbe42a8b6726c117bb766e7327045d95ad9d22","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.3.1","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"9ecbe42a8b6726c117bb766e7327045d95ad9d22","tarball":"http://registry-npm.ywwl.com/stream-to-pull-stream/download/stream-to-pull-stream-1.6.2.tgz","integrity":"sha512-/uDuvypvYB5BCqIXFS/Zi2b2Sbos/suPwmSUtWmtMMSZnXttaOrR+tZKbGz5UdpJt7TLs9pA2AHhbM8SjAwVxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQuR3rkaLBHFX2fi0Vr0yjN1X82XvBzJd33BXjQ2o3MAiEAomV+ZA3IOUslJgL9uaFFRzA0vGw7KmuOVlAnzhIhYNM="}],"size":4151,"noattachment":false,"key":"/stream-to-pull-stream/-/stream-to-pull-stream-1.6.2.tgz"},"directories":{},"readme":"# stream-to-pull-stream\n\nConvert a classic-stream, or a new-stream into a\n[pull-stream](https://github.com/dominictarr/pull-stream)\n\n## example\n\n``` js\nvar toPull = require('stream-to-pull-stream')\nvar pull = require('pull-stream')\n\npull(\n  toPull.source(fs.createReadStream(__filename)),\n  pull.map(function (e) { return e.toString().toUpperCase() }),\n  toPull.sink(process.stdout, function (err) {\n    if(err) throw err\n    console.log('done')\n  })\n)\n```\n\nif the node steam is a duplex (i.e. net, ws) then use `toPull.duplex(stream, cb?)`\n`duplex` takes an optional callback in the same way that `sink` does.\n\n## License\n\nMIT\n","publish_time":1438348143840,"_cnpm_publish_time":1438348143840,"dist-tags":{"latest":"1.7.3"}}