{"name":"pull-through","description":"through ported to pull-stream style","version":"1.0.12","homepage":"https://github.com/dominictarr/pull-through","repository":{"type":"git","url":"git://github.com/dominictarr/pull-through.git"},"dependencies":{"pull-stream":"~2.20"},"devDependencies":{"pull-stream":"~2.22.2","tape":"~2.12.3"},"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","bugs":{"url":"https://github.com/dominictarr/pull-through/issues"},"_id":"pull-through@1.0.12","dist":{"shasum":"e1061655ff8b15792a53de524ee93d4e26e5d12e","tarball":"http://registry-npm.ywwl.com/pull-through/download/pull-through-1.0.12.tgz","integrity":"sha512-+Bm48G6wrJ7NIj7zHmHTwzkPdg3l3MNVIoyEFD941qTG0rXtr0UfQZD5XSyy7UR9lJKkhofrTNqRhnuX4X+cfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLQJEVYBXjxYRnH5sg32N4VKK9M9oQ7Bjs8D3D+VEP3wIgPruBpq3gHmpjwQYtKWjGZ3zjLYiwhZ7DMvynuClAYTk="}],"size":2234,"noattachment":false,"key":"/pull-through/-/pull-through-1.0.12.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{},"readme":"# pull-through\n\n[through](https://github.com/dominictarr/through) ported to \n[pull-stream](https://github.com/dominictarr/pull-stream) style.\n\n## Example\n\nSame Good Old Api, Brand New Underlying Mechanism.\n\n``` js\nvar through = require('pull-through')\n\nvar ts = through(function (data) {\n  this.queue(data)\n}, function (end) {\n  this.queue(null)\n})\n```\n\n## Incompatibility\n\n### DON'T\nuse `var self = this`, don't keep a reference.\n\n``` js\nvar WRONG = through(function (data) { WRONG.queue(data) })\n```\n\n### DO\n\n``` js\nthrough(function (data) { this.queue(data) })\n```\n\nMaybe this will change. this is a little more tricky with pull-streams, though.\n\n## License\n\nMIT\n","publish_time":1398791736000,"_cnpm_publish_time":1398791736000,"dist-tags":{"latest":"1.0.18"}}