{"name":"pull-through","description":"through ported to pull-stream style","version":"1.0.18","homepage":"https://github.com/dominictarr/pull-through","repository":{"type":"git","url":"git://github.com/dominictarr/pull-through.git"},"dependencies":{"looper":"~3.0.0"},"devDependencies":{"pull-stream":"^3.2.3","tape":"~4.0.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":"d0eb76240bc211c078bc62022b5dd7017858f647","bugs":{"url":"https://github.com/dominictarr/pull-through/issues"},"_id":"pull-through@1.0.18","_shasum":"8dd62314263e59cf5096eafbb127a2b6ef310735","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"dist":{"shasum":"8dd62314263e59cf5096eafbb127a2b6ef310735","tarball":"http://registry-npm.ywwl.com/pull-through/download/pull-through-1.0.18.tgz","integrity":"sha512-t8BBRdKstI/JoWS3FAXRnBvo1ahoLcKo8nm8ZUzr4OUgIf47RodD6HjnPIpw/d6HQZaMu+TotLAYCNwLTnvcNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGXsBk5ZHMeOjpb0b4b/NwB+GJAk3ex3/2EycPO/64XAIgenQjhF9tqAHfFFozOlQAtLvLNRAJi9xm9IWk90JOlzM="}],"size":2732,"noattachment":false,"key":"/pull-through/-/pull-through-1.0.18.tgz"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pull-through-1.0.18.tgz_1459323972116_0.08819945156574249"},"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":1459323972563,"_cnpm_publish_time":1459323972563,"dist-tags":{"latest":"1.0.18"}}