{"_id":"duplex-passthrough","_rev":"1043951","name":"duplex-passthrough","description":"like a passthrough, but in both directions","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"time":{"modified":"2024-09-17T04:35:29.000Z","created":"2013-07-15T23:33:21.993Z","1.0.2":"2015-05-20T07:09:17.634Z","1.0.1":"2013-07-15T23:40:59.023Z","1.0.0":"2013-07-15T23:33:21.993Z"},"users":{},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me"},"repository":{"type":"git","url":"git://github.com/isaacs/duplex-passthrough.git"},"versions":{"1.0.2":{"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":{},"publish_time":1432105757634,"_cnpm_publish_time":1432105757634},"1.0.1":{"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":{},"publish_time":1373931659023,"_cnpm_publish_time":1373931659023},"1.0.0":{"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":{},"publish_time":1373931201993,"_cnpm_publish_time":1373931201993}},"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","_attachments":{},"homepage":"https://github.com/isaacs/duplex-passthrough#readme","bugs":{"url":"https://github.com/isaacs/duplex-passthrough/issues"},"license":"ISC"}