{"name":"pull-through","description":"through ported to pull-stream style","version":"1.0.16","homepage":"https://github.com/dominictarr/pull-through","repository":{"type":"git","url":"git://github.com/dominictarr/pull-through.git"},"dependencies":{"pull-stream":"~2.27.0","looper":"~3.0.0"},"devDependencies":{"pull-stream":"~2.26.0","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":"fe0108740ee0374152baf5ffff6f508b144600b5","bugs":{"url":"https://github.com/dominictarr/pull-through/issues"},"_id":"pull-through@1.0.16","_shasum":"f1f5eb5727aba1b7feca1dd8f2fd2fdc429f8a0a","_from":".","_npmVersion":"2.11.0","_nodeVersion":"0.12.4","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"f1f5eb5727aba1b7feca1dd8f2fd2fdc429f8a0a","tarball":"http://registry-npm.ywwl.com/pull-through/download/pull-through-1.0.16.tgz","integrity":"sha512-rYh0F3FA9zFhQ9tymladGgMpvB0h/Ur1qM+YNFXgQuKVoCTg3YLr0uvOR2ALq7p70h9I64OZ1jA9BdLjmrBz9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDXabZbB16wCrEw0+M9uXRo9uTqAQrUD+stZ0K2tl9FOAiEA6dh5TlOQxouAVpsbYTIKlKUyPMw0uCQakrLXmDmKG1M="}],"size":2641,"noattachment":false,"key":"/pull-through/-/pull-through-1.0.16.tgz"},"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":1433755473028,"_cnpm_publish_time":1433755473028,"dist-tags":{"latest":"1.0.18"}}