{"name":"duplex-passthrough","description":"like a passthrough, but in both directions","version":"1.0.0","license":"BSD","scripts":{"test":"node t.js"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me"},"main":"dp.js","repository":{"type":"git","url":"git://github.com/isaacs/duplex-passthrough"},"keywords":["stream","passthrough","duplex"],"bugs":{"url":"https://github.com/isaacs/duplex-passthrough/issues"},"_id":"duplex-passthrough@1.0.0","dist":{"shasum":"77c0bc735c74210eab4ab6e04e92f0b241275c9b","tarball":"http://registry-npm.ywwl.com/duplex-passthrough/download/duplex-passthrough-1.0.0.tgz","integrity":"sha512-rFoKjZ4Inrp3iA1t9rHoO0ePfopGyhd2qyrHOa1bb2xQK0Q93S6+rremX/HuRZ+GKUKiYyM/z3Z0LUyQcu53Vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6AYf3Pz3AgmkIPnhxQmyUsJTmeTcMibxImArBqariNAiB17xuiBxuYGwqXlrMb4CWt7dv8vpW3CsH/oP4szB7TmQ=="}],"size":2200,"noattachment":false,"key":"/duplex-passthrough/-/duplex-passthrough-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.4","_npmUser":{"name":"isaacs","email":"i@izs.me"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"directories":{},"readme":"# duplex-passthrough\n\nFor when a single passthrough stream is not enough.\n\n## USAGE\n\n```javascript\nvar dp = new DuplexPassThrough(stream, options);\n```\n\nOr, if the stream is not available yet:\n\n```javascript\nvar dp = new DuplexPassThrough(null, options);\n\n// some time later..\ndp.wrapStream(stream);\n```\n\nThis is useful if you have to buffer up both sides of a duplex stream\nfor some reason, like if you want to read some bits of a socket, but\nthen send it somewhere else, or do other crazy stuff.\n","publish_time":1373931201993,"_cnpm_publish_time":1373931201993,"dist-tags":{"latest":"1.0.2"}}