{"name":"duplex-passthrough","description":"like a passthrough, but in both directions","version":"1.0.1","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.1","dist":{"shasum":"4fc56acbfe24bb65853b4758d10dc3b54f38a141","tarball":"http://registry-npm.ywwl.com/duplex-passthrough/download/duplex-passthrough-1.0.1.tgz","integrity":"sha512-Jx8n+pCOPI0CHtwINCsTtO1z3iVV221mPWtq2Y8o2CaYJxsh0oZhNSfkSUe+sGsV+xipJ8IAVkmmjqGbuxexMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHfSRkPN60vcEHNyFBrIJLLox+Ak+u44TQS3koNKWju+AiEAi60cj+jB9esE2inI8mUar2Xr2YHA+GFc3MzA8IHbRwM="}],"size":2118,"noattachment":false,"key":"/duplex-passthrough/-/duplex-passthrough-1.0.1.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":1373931659023,"_cnpm_publish_time":1373931659023,"dist-tags":{"latest":"1.0.2"}}