{"name":"duplex-passthrough","description":"like a passthrough, but in both directions","version":"1.0.2","license":"ISC","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.git"},"keywords":["stream","passthrough","duplex"],"bugs":{"url":"https://github.com/isaacs/duplex-passthrough/issues"},"gitHead":"c7af2a6a6d47f0a0df3d56d234d270b4b9043fe7","homepage":"https://github.com/isaacs/duplex-passthrough#readme","_id":"duplex-passthrough@1.0.2","_shasum":"cfc6342b84a22b61aeeed42b346057af6e0bcfc1","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.1","_npmUser":{"name":"isaacs","email":"isaacs@npmjs.com"},"dist":{"shasum":"cfc6342b84a22b61aeeed42b346057af6e0bcfc1","tarball":"http://registry-npm.ywwl.com/duplex-passthrough/download/duplex-passthrough-1.0.2.tgz","integrity":"sha512-2FI9Ij8N+mG5vbYLLmxC3LG1O6gItK0J2JYueowcpgG6yUWEAN1dkKi50lji88roKmUfY8hf+zPDqyNmrQrqYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDV+0HGYlAnhPOYrgECTpuRr5q5Pm8hwAkkcsiZwocpLQIgQsoucZc8JgSU7T5woNBLuBcBN1Srj8/0Ya7zg+0UR9Q="}],"size":1898,"noattachment":false,"key":"/duplex-passthrough/-/duplex-passthrough-1.0.2.tgz"},"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":1432105757634,"_cnpm_publish_time":1432105757634,"dist-tags":{"latest":"1.0.2"}}