{"_id":"pipe-streams-to-promise","_rev":"7-f27d6402474cdaa76a74ebc5ee895152","name":"pipe-streams-to-promise","description":"Pipe an array of streams to a single promise. Captures errors on any of the streams.","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"pipe-streams-to-promise","version":"0.1.0","description":"Pipe an array of streams to a single promise. Captures errors on any of the streams.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test.js"},"repository":{"type":"git","url":"https://github.com/troyastorino/pipe-streams-to-promise.git"},"keywords":["streams","node","promises","bluebird","js"],"author":{"name":"Troy Astorino","email":"troyastorino@gmail.com","url":"http://troyastorino.com"},"license":"MIT","bugs":{"url":"https://github.com/troyastorino/pipe-streams-to-promise/issues"},"homepage":"https://github.com/troyastorino/pipe-streams-to-promise","dependencies":{"bluebird":"^2.9.13","stream-to-promise":"^1.0.4"},"devDependencies":{"mocha":"^2.2.1"},"gitHead":"d4d9f7996cc5ea37c7bcde59df719f17e4427730","_id":"pipe-streams-to-promise@0.1.0","_shasum":"8217f1e9421e3a6bc92eabd6fa5fa397347d2751","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"troyastorino","email":"troyastorino@gmail.com"},"maintainers":[{"name":"troyastorino","email":"troyastorino@gmail.com"}],"dist":{"shasum":"8217f1e9421e3a6bc92eabd6fa5fa397347d2751","tarball":"https://registry.npmjs.org/pipe-streams-to-promise/-/pipe-streams-to-promise-0.1.0.tgz","integrity":"sha512-6kl7VWhKdHFDpN3Om2DkYE+i6dlT8+PHPYyzKriADt6yDszHv5uRpVb8UA+dZ/ao6mVcmjwWiJ3xf7FmxIX5EA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr9f+in/fAmSY9vxrfWZMZOx4O1EL6wKkVEbfXCKkTnwIgTMFbEcnM+tfrBggEa2kS3Trq9oByc+Czherc9Sxdr44="}]}},"0.2.0":{"name":"pipe-streams-to-promise","version":"0.2.0","description":"Pipe an array of streams to a single promise. Captures errors on any of the streams.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/troyastorino/pipe-streams-to-promise.git"},"keywords":["streams","node","promises","bluebird","js"],"author":{"name":"Troy Astorino","email":"troyastorino@gmail.com","url":"http://troyastorino.com"},"license":"MIT","bugs":{"url":"https://github.com/troyastorino/pipe-streams-to-promise/issues"},"homepage":"https://github.com/troyastorino/pipe-streams-to-promise","dependencies":{"bluebird":"^2.9.13","stream-to-promise":"^1.0.4"},"devDependencies":{"mocha":"^2.2.1"},"gitHead":"91d62b707dca683a7d7c64f363902f19c0af33fe","_id":"pipe-streams-to-promise@0.2.0","_shasum":"11c89724b1c35e411d1dd40972a6b73b6aa74d47","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"troyastorino","email":"troyastorino@gmail.com"},"dist":{"shasum":"11c89724b1c35e411d1dd40972a6b73b6aa74d47","tarball":"https://registry.npmjs.org/pipe-streams-to-promise/-/pipe-streams-to-promise-0.2.0.tgz","integrity":"sha512-f/8KL1DHoGyoj7XnLFE1udsk1CbYM8mGQ9gIg0/7uBIpkis9vLSd+rBY5r0wB2rByTJbCD1UuxVjbnxp6RS7ZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjzdig3bNolTmwyW5djlvMVwLZN/CJPAyRHZyeb+jzfAIgNtYSztPLs9o+dAyf4+K2/XhFxUyDpKT3v0aayT6Wf9Q="}]},"maintainers":[{"name":"troyastorino","email":"troyastorino@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/pipe-streams-to-promise-0.2.0.tgz_1460348766714_0.383068016031757"}}},"readme":"# pipe-streams-to-promise\nPipes an array of streams together and returns a promise. Checks for any errors on the steams.\n\nHeavily inspired by, and test cases taken from,\n[epeli](https://github.com/epeli)'s\n[promisePipe](https://github.com/epeli/node-promisepipe)\n\n### Usage\n\n```\nvar pipeStreams = require('pipe-streams-to-promise');\n\nvar fs = require('fs');\nvar zlib = require('zlib');\n\nvar gzip = zlib.createGzip();\nvar readStream = fs.createReadStream('myfile.txt');\nvar writeStream = fs.createWriteStream('myfile.txt.gz');\n\n\npipeStreams([\n  readStream,\n  gzip,\n  writeStream\n]).then(function(writeStream) {\n  console.log('Done compressing.');\n}).catch(function(err) {\n  console.error('Ran into an error:', err);\n});\n```\n","maintainers":[{"name":"troyastorino","email":"troyastorino@gmail.com"}],"time":{"modified":"2022-06-24T00:33:23.545Z","created":"2015-03-12T01:30:34.640Z","0.1.0":"2015-03-12T01:30:34.640Z","0.2.0":"2016-04-11T04:26:07.888Z"},"homepage":"https://github.com/troyastorino/pipe-streams-to-promise","keywords":["streams","node","promises","bluebird","js"],"repository":{"type":"git","url":"git+https://github.com/troyastorino/pipe-streams-to-promise.git"},"author":{"name":"Troy Astorino","email":"troyastorino@gmail.com","url":"http://troyastorino.com"},"bugs":{"url":"https://github.com/troyastorino/pipe-streams-to-promise/issues"},"license":"MIT","readmeFilename":"README.md","users":{"jmelanson-balihoo":true,"allain":true}}