{"_id":"duplex-combination","_rev":"3291055","name":"duplex-combination","description":"Combine a readable and writable stream into a duplex stream","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"aredridel","email":"aredridel@nbtsc.org"}],"time":{"modified":"2024-05-23T06:52:23.000Z","created":"2014-02-03T21:02:06.517Z","1.2.1":"2015-06-25T01:32:30.527Z","1.2.0":"2014-08-17T15:48:50.755Z","1.1.1":"2014-07-28T20:29:43.420Z","1.1.0":"2014-07-28T19:00:38.524Z","1.0.1":"2014-06-06T21:24:21.963Z","1.0.0":"2014-02-03T21:02:06.517Z"},"users":{},"author":{"name":"Aria Stewart","email":"aredridel@nbtsc.org"},"repository":{"type":"git","url":"git://github.com/aredridel/duplex-combination.git"},"versions":{"1.2.1":{"name":"duplex-combination","description":"Combine a readable and writable stream into a duplex stream","version":"1.2.1","license":"BSD","scripts":{"test":"node t.js"},"author":{"name":"Aria Stewart","email":"aredridel@nbtsc.org"},"main":"dc.js","repository":{"type":"git","url":"git://github.com/aredridel/duplex-combination.git"},"keywords":["stream","streams2","duplex"],"bugs":{"url":"https://github.com/aredridel/duplex-combination/issues"},"gitHead":"02a45913ea84c1a0786dc3db8f8ade3b06c53619","homepage":"https://github.com/aredridel/duplex-combination#readme","_id":"duplex-combination@1.2.1","_shasum":"40e896025f8e6d079bcb4894eeae009745b4b54d","_from":".","_npmVersion":"3.0.0-pre.13","_nodeVersion":"2.3.0","_npmUser":{"name":"aredridel","email":"aredridel@nbtsc.org"},"maintainers":[{"name":"aredridel","email":"aredridel@nbtsc.org"}],"dist":{"shasum":"40e896025f8e6d079bcb4894eeae009745b4b54d","size":1571,"noattachment":false,"key":"/duplex-combination/-/duplex-combination-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplex-combination/download/duplex-combination-1.2.1.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T22:44:08.626Z","publish_time":1435195950527,"_cnpm_publish_time":1435195950527},"1.2.0":{"name":"duplex-combination","description":"Combine a readable and writable stream into a duplex stream","version":"1.2.0","license":"BSD","scripts":{"test":"node t.js"},"author":{"name":"Aria Stewart","email":"aredridel@nbtsc.org"},"main":"dc.js","repository":{"type":"git","url":"git://github.com/aredridel/duplex-combination"},"keywords":["stream","streams2","duplex"],"bugs":{"url":"https://github.com/aredridel/duplex-combination/issues"},"gitHead":"0ab6279a20121e83ba17ab57fd8e444321748de0","homepage":"https://github.com/aredridel/duplex-combination","_id":"duplex-combination@1.2.0","_shasum":"951e3cb71351b87c678efc4461c53076aa2fa5b8","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"aredridel","email":"aredridel@nbtsc.org"},"maintainers":[{"name":"aredridel","email":"aredridel@nbtsc.org"}],"dist":{"shasum":"951e3cb71351b87c678efc4461c53076aa2fa5b8","size":1571,"noattachment":false,"key":"/duplex-combination/-/duplex-combination-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplex-combination/download/duplex-combination-1.2.0.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T22:44:07.783Z","publish_time":1408290530755,"_cnpm_publish_time":1408290530755},"1.1.1":{"name":"duplex-combination","description":"Combine a readable and writable stream into a duplex stream","version":"1.1.1","license":"BSD","scripts":{"test":"node t.js"},"author":{"name":"Aria Stewart","email":"aredridel@nbtsc.org"},"main":"dc.js","repository":{"type":"git","url":"git://github.com/aredridel/duplex-combination"},"keywords":["stream","streams2","duplex"],"bugs":{"url":"https://github.com/aredridel/duplex-combination/issues"},"gitHead":"f6bf5af2ed62a3769d8a60f4b6e2abe7816f249f","homepage":"https://github.com/aredridel/duplex-combination","_id":"duplex-combination@1.1.1","_shasum":"6bcf8598f57c93439978a57a82a7aecd53383dff","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"aredridel","email":"aredridel@nbtsc.org"},"maintainers":[{"name":"aredridel","email":"aredridel@nbtsc.org"}],"dist":{"shasum":"6bcf8598f57c93439978a57a82a7aecd53383dff","size":2128,"noattachment":false,"key":"/duplex-combination/-/duplex-combination-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplex-combination/download/duplex-combination-1.1.1.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T22:44:06.928Z","publish_time":1406579383420,"_cnpm_publish_time":1406579383420},"1.1.0":{"name":"duplex-combination","description":"Combine a readable and writable stream into a duplex stream","version":"1.1.0","license":"BSD","scripts":{"test":"node t.js"},"author":{"name":"Aria Stewart","email":"aredridel@nbtsc.org"},"main":"dc.js","repository":{"type":"git","url":"git://github.com/aredridel/duplex-combination"},"keywords":["stream","streams2","duplex"],"bugs":{"url":"https://github.com/aredridel/duplex-combination/issues"},"gitHead":"a8e089b994f72b21239d0ec0ff92b1fa36fa7bcd","homepage":"https://github.com/aredridel/duplex-combination","_id":"duplex-combination@1.1.0","_shasum":"1b45183d86027a30d0c0b1a2758d6480abe43175","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"aredridel","email":"aredridel@nbtsc.org"},"maintainers":[{"name":"aredridel","email":"aredridel@nbtsc.org"}],"dist":{"shasum":"1b45183d86027a30d0c0b1a2758d6480abe43175","size":2140,"noattachment":false,"key":"/duplex-combination/-/duplex-combination-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplex-combination/download/duplex-combination-1.1.0.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T22:44:06.063Z","publish_time":1406574038524,"_cnpm_publish_time":1406574038524},"1.0.1":{"name":"duplex-combination","description":"Combine a readable and writable stream into a duplex stream","version":"1.0.1","license":"BSD","scripts":{"test":"node t.js"},"author":{"name":"Aria Stewart","email":"aredridel@nbtsc.org"},"main":"dc.js","repository":{"type":"git","url":"git://github.com/aredridel/duplex-combination"},"keywords":["stream","streams2","duplex"],"bugs":{"url":"https://github.com/aredridel/duplex-combination/issues"},"gitHead":"e252333afddd8ff51526e59c1f4aa3d4eb12b50d","homepage":"https://github.com/aredridel/duplex-combination","_id":"duplex-combination@1.0.1","_shasum":"e0e66ab83505638badd1b21e1c53031b8b29453e","_from":".","_npmVersion":"1.4.11","_npmUser":{"name":"aredridel","email":"aredridel@nbtsc.org"},"maintainers":[{"name":"aredridel","email":"aredridel@nbtsc.org"}],"dist":{"shasum":"e0e66ab83505638badd1b21e1c53031b8b29453e","size":1407,"noattachment":false,"key":"/duplex-combination/-/duplex-combination-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplex-combination/download/duplex-combination-1.0.1.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T22:44:05.200Z","publish_time":1402089861963,"_cnpm_publish_time":1402089861963},"1.0.0":{"name":"duplex-combination","description":"Combine a readable and writable stream into a duplex stream","version":"1.0.0","license":"BSD","scripts":{"test":"node t.js"},"author":{"name":"Aria Stewart","email":"aredridel@nbtsc.org"},"main":"dc.js","repository":{"type":"git","url":"git://github.com/aredridel/duplex-combination"},"keywords":["stream","streams2","duplex"],"bugs":{"url":"https://github.com/aredridel/duplex-combination/issues"},"homepage":"https://github.com/aredridel/duplex-combination","_id":"duplex-combination@1.0.0","dist":{"shasum":"c5a188eca41100dd0d10318289203bd3a68173c9","size":1393,"noattachment":false,"key":"/duplex-combination/-/duplex-combination-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/duplex-combination/download/duplex-combination-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"aredridel","email":"aredridel@nbtsc.org"},"maintainers":[{"name":"aredridel","email":"aredridel@nbtsc.org"}],"directories":{},"_cnpmcore_publish_time":"2021-12-21T22:44:04.325Z","publish_time":1391461326517,"_cnpm_publish_time":1391461326517}},"readme":"# duplex-combination\n\nMerge a readable and writable stream together into a duplex stream\n\n## USE\n\n```javascript\nvar dp = new DuplexCombination(reader, writer, options);\n\ndp.write(\"data\");\ndp.on('readable', function() {\n    dp.read(n);\n})\n```\n\n## Additional public properties\n\nThe read and write streams are exposed with the properties `dp.reader` and `dp.writer`\n\n## ERRORS\n\nError events include the stream that triggered the error, so you can:\n\n```javascript\ndp.on('error',function(err,stream) {\n    if (stream === dp.reader) {\n        // error while reading\n    }\n    else {\n        // error while writing\n    }\n});\n```\n\n## Acknowledgements\n\nStolen shamelessly from Isaac Schuleter's `duplex-passthrough` module.\n","_attachments":{},"homepage":"https://github.com/aredridel/duplex-combination#readme","bugs":{"url":"https://github.com/aredridel/duplex-combination/issues"},"license":"BSD"}