{"_id":"pump","_rev":"4568838","name":"pump","description":"pipe streams together and close all of them if one of them closes","dist-tags":{"latest":"3.0.4"},"maintainers":[{"name":"mafintosh","email":""}],"time":{"modified":"2026-04-10T15:20:41.000Z","created":"2013-08-14T20:03:59.214Z","3.0.4":"2026-02-28T13:31:05.855Z","3.0.3":"2025-06-16T09:15:59.585Z","3.0.2":"2024-09-11T07:58:34.009Z","3.0.1":"2024-09-10T16:59:57.894Z","3.0.0":"2018-01-31T09:46:35.636Z","2.0.1":"2018-01-22T16:22:27.684Z","2.0.0":"2017-11-30T23:53:07.172Z","1.0.3":"2017-11-16T20:44:16.536Z","1.0.2":"2016-12-20T14:14:47.280Z","1.0.1":"2015-10-23T14:31:11.866Z","1.0.0":"2014-09-24T04:16:11.221Z","0.3.5":"2014-07-21T11:09:43.572Z","0.3.4":"2014-07-12T12:15:23.088Z","0.3.3":"2014-07-12T12:12:30.589Z","0.3.2":"2014-05-07T15:02:54.986Z","0.3.1":"2014-02-18T10:19:54.895Z","0.3.0":"2014-02-12T09:56:15.952Z","0.2.3":"2013-12-26T09:09:54.429Z","0.2.2":"2013-12-01T16:47:22.667Z","0.2.1":"2013-11-27T01:19:27.732Z","0.2.0":"2013-11-27T01:13:58.376Z","0.1.7":"2013-11-24T11:06:56.909Z","0.1.6":"2013-11-24T10:25:07.649Z","0.1.5":"2013-08-24T14:56:48.720Z","0.1.4":"2013-08-24T11:46:46.802Z","0.1.3":"2013-08-22T16:58:38.299Z","0.1.2":"2013-08-15T05:58:55.737Z","0.1.1":"2013-08-14T22:41:45.452Z","0.1.0":"2013-08-14T20:03:59.214Z"},"users":{"maxogden":true,"timhudson":true,"eagleeye":true,"davidchase":true,"ceejbot":true,"stringparser":true,"alectic":true,"jonatasnona":true,"novemberborn":true,"cshum":true,"moimikey":true,"flockonus":true,"klaemo":true,"robmcguinness":true,"avvs":true,"farskipper":true,"coalesce":true,"zewish":true,"sejoker":true,"matteo.collina":true,"daizch":true,"thesystem":true,"iseric":true,"drewigg":true,"roccomuso":true,"mobeicaoyuan":true,"krampstudio":true,"onlyutkarsh":true,"ifeature":true,"shiningray":true,"quocnguyen":true,"pjk":true,"stone-jin":true,"timwzou":true,"dpjayasekara":true,"ungurys":true,"evovilol":true,"peunzhang":true,"kuzmicheff":true,"binaryjim":true,"raschdiaz":true,"jjonathan":true,"mskjp":true,"akiva":true,"rajiff":true,"itonyyo":true,"ajduke":true,"oleg_tsyba":true,"mucbuc":true,"agplan":true,"norbertparti":true,"arugalab":true,"icognivator":true,"mradko":true,"linger":true,"bura":true,"maoxiaoke":true,"rocket0191":true,"lmangani":true,"diegorbaquero":true,"alexjeffcott":true,"rain-again":true,"axelrindle":true,"seangenabe":true,"nicknaso":true,"jmiziolek":true,"rexpan":true,"monjer":true,"mrxf":true,"zhenguo.zhao":true,"knoja4":true,"nwservices":true,"charlesread":true},"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"versions":{"3.0.4":{"name":"pump","version":"3.0.4","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","browser":{"fs":false},"imports":{"fs":{"bare":"./empty.js","default":"fs"}},"keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test-browser.js && node test-node.js"},"gitHead":"714c0a70a8199104bf65a57582009d42f81d8d94","_id":"pump@3.0.4","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump#readme","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"shasum":"1f313430527fa8b905622ebd22fe1444e757ab3c","size":3806,"noattachment":false,"key":"/pump/-/pump-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-3.0.4.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pump_3.0.4_1772285465701_0.610575391251263"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-28T13:31:05.855Z","publish_time":1772285465855,"_source_registry_name":"default","_cnpm_publish_time":1772285465855},"3.0.3":{"name":"pump","version":"3.0.3","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","browser":{"fs":false},"keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test-browser.js && node test-node.js"},"_id":"pump@3.0.3","gitHead":"723ecd008c5b7c3021573b864402f01b7005f297","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump#readme","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"shasum":"151d979f1a29668dc0025ec589a455b53282268d","size":3736,"noattachment":false,"key":"/pump/-/pump-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-3.0.3.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pump_3.0.3_1750065359389_0.6902651510302507"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-16T09:15:59.585Z","publish_time":1750065359585,"_source_registry_name":"default","_cnpm_publish_time":1750065359585},"3.0.2":{"name":"pump","version":"3.0.2","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","browser":{"fs":false},"keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test-browser.js && node test-node.js"},"_id":"pump@3.0.2","gitHead":"16e858ed6594ef22f8daade05613d3a9b0e3a139","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump#readme","_nodeVersion":"20.11.1","_npmVersion":"10.7.0","dist":{"shasum":"836f3edd6bc2ee599256c924ffe0d88573ddcbf8","size":3719,"noattachment":false,"key":"/pump/-/pump-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-3.0.2.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pump_3.0.2_1726041513856_0.31858505274469184"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-11T07:58:34.009Z","publish_time":1726041514009,"_source_registry_name":"default","_cnpm_publish_time":1726041514009},"3.0.1":{"name":"pump","version":"3.0.1","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","browser":{"fs":false},"keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test-browser.js && node test-node.js"},"_id":"pump@3.0.1","gitHead":"1b0ac2d4dc5f4a0e9bc28308dc386e26cdc34f44","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump#readme","_nodeVersion":"20.11.1","_npmVersion":"10.7.0","dist":{"shasum":"cf711a61348b26a05ad8ce598e50d7e0ea03d398","size":3717,"noattachment":false,"key":"/pump/-/pump-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-3.0.1.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pump_3.0.1_1725987597739_0.08848482567192217"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-10T16:59:57.894Z","publish_time":1725987597894,"_source_registry_name":"default","_cnpm_publish_time":1725987597894},"3.0.0":{"name":"pump","version":"3.0.0","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","browser":{"fs":false},"keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test-browser.js && node test-node.js"},"gitHead":"b05d1838cc3be47f7c3cd9020c73f6ebbafd3aa0","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump#readme","_id":"pump@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"b4a2116815bde2f4e1ea602354e8c75565107a64","size":3237,"noattachment":false,"key":"/pump/-/pump-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-3.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pump-3.0.0.tgz_1517391995455_0.9241023743525147"},"directories":{},"publish_time":1517391995636,"_hasShrinkwrap":false,"_cnpm_publish_time":1517391995636},"2.0.1":{"name":"pump","version":"2.0.1","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","browser":{"fs":false},"keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test-browser.js && node test-node.js"},"gitHead":"4c93a460459fd970dd963fd9600c75b0e90404c2","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump#readme","_id":"pump@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"12399add6e4cf7526d973cbc8b5ce2e2908b3909","size":3136,"noattachment":false,"key":"/pump/-/pump-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-2.0.1.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pump-2.0.1.tgz_1516638146695_0.7931882732082158"},"directories":{},"publish_time":1516638147684,"_hasShrinkwrap":false,"_cnpm_publish_time":1516638147684},"2.0.0":{"name":"pump","version":"2.0.0","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","browser":{"fs":false},"keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test.js"},"gitHead":"e3d0c444ceef59ff694c753303a35052e60b5186","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump#readme","_id":"pump@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"7946da1c8d622b098e2ceb2d3476582470829c9d","size":3024,"noattachment":false,"key":"/pump/-/pump-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-2.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pump-2.0.0.tgz_1512085986230_0.5930282876361161"},"directories":{},"publish_time":1512085987172,"_hasShrinkwrap":false,"_cnpm_publish_time":1512085987172},"1.0.3":{"name":"pump","version":"1.0.3","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","browser":{"fs":false},"keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test.js"},"gitHead":"28557d8349d8e3b6878f9955d28b4a52c6a44de3","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump#readme","_id":"pump@1.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"5dfe8311c33bbf6fc18261f9f34702c47c08a954","size":2987,"noattachment":false,"key":"/pump/-/pump-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-1.0.3.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pump-1.0.3.tgz_1510865055632_0.71864059031941"},"directories":{},"publish_time":1510865056536,"_hasShrinkwrap":false,"_cnpm_publish_time":1510865056536},"1.0.2":{"name":"pump","version":"1.0.2","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","browser":{"fs":false},"keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test.js"},"gitHead":"90ed7ae8923ade7c7589e3db28c29fbc5c2d42ca","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@1.0.2","_shasum":"3b3ee6512f94f0e575538c17995f9f16990a5d51","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"3b3ee6512f94f0e575538c17995f9f16990a5d51","size":3035,"noattachment":false,"key":"/pump/-/pump-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-1.0.2.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/pump-1.0.2.tgz_1482243286673_0.09530888125300407"},"directories":{},"publish_time":1482243287280,"_cnpm_publish_time":1482243287280,"_hasShrinkwrap":false},"1.0.1":{"name":"pump","version":"1.0.1","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test.js"},"gitHead":"6abb030191e1ccb12c5f735a4f39162307f93b90","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@1.0.1","_shasum":"f1f1409fb9bd1085bbdb576b43b84ec4b5eadc1a","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"f1f1409fb9bd1085bbdb576b43b84ec4b5eadc1a","size":2822,"noattachment":false,"key":"/pump/-/pump-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-1.0.1.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1445610671866,"_cnpm_publish_time":1445610671866,"_hasShrinkwrap":false},"1.0.0":{"name":"pump","version":"1.0.0","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"end-of-stream":"^1.1.0","once":"^1.3.1"},"scripts":{"test":"node test.js"},"gitHead":"dc0a3c33ac51a37f2ac3551d1a292620fdc5ad91","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@1.0.0","_shasum":"f0250fe282742492e4dea170e5ed3f7bc8a5e32c","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"dist":{"shasum":"f0250fe282742492e4dea170e5ed3f7bc8a5e32c","size":2782,"noattachment":false,"key":"/pump/-/pump-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-1.0.0.tgz"},"directories":{},"publish_time":1411532171221,"_cnpm_publish_time":1411532171221,"_hasShrinkwrap":false},"0.3.5":{"name":"pump","version":"0.3.5","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~1.0.0"},"scripts":{"test":"node test.js"},"bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.3.5","_shasum":"ae5ff8c1f93ed87adc6530a97565b126f585454b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"dist":{"shasum":"ae5ff8c1f93ed87adc6530a97565b126f585454b","size":2087,"noattachment":false,"key":"/pump/-/pump-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.3.5.tgz"},"directories":{},"publish_time":1405940983572,"_cnpm_publish_time":1405940983572,"_hasShrinkwrap":false},"0.3.4":{"name":"pump","version":"0.3.4","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~0.1.4"},"scripts":{"test":"node test.js"},"bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.3.4","_shasum":"2e025d62199c3372e2a03dc283b583dd4c0c8ef3","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"dist":{"shasum":"2e025d62199c3372e2a03dc283b583dd4c0c8ef3","size":2084,"noattachment":false,"key":"/pump/-/pump-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.3.4.tgz"},"directories":{},"publish_time":1405167323088,"_cnpm_publish_time":1405167323088,"_hasShrinkwrap":false},"0.3.3":{"name":"pump","version":"0.3.3","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~0.1.4"},"scripts":{"test":"node test.js"},"bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.3.3","_shasum":"bda1980336f397443674335b6743b3e237f0a9ee","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"dist":{"shasum":"bda1980336f397443674335b6743b3e237f0a9ee","size":2088,"noattachment":false,"key":"/pump/-/pump-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.3.3.tgz"},"directories":{},"publish_time":1405167150589,"_cnpm_publish_time":1405167150589,"_hasShrinkwrap":false},"0.3.2":{"name":"pump","version":"0.3.2","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~0.1.4"},"scripts":{"test":"node test.js"},"bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.3.2","_shasum":"b264874b905408b6048a995fdcc424a27034d76f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"dist":{"shasum":"b264874b905408b6048a995fdcc424a27034d76f","size":2083,"noattachment":false,"key":"/pump/-/pump-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.3.2.tgz"},"directories":{},"publish_time":1399474974986,"_cnpm_publish_time":1399474974986,"_hasShrinkwrap":false},"0.3.1":{"name":"pump","version":"0.3.1","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~0.1.4"},"scripts":{"test":"node test.js"},"bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.3.1","dist":{"shasum":"8ea0878556d8991809bf277bd977abd0825075d3","size":1937,"noattachment":false,"key":"/pump/-/pump-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.3.1.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1392718794895,"_cnpm_publish_time":1392718794895,"_hasShrinkwrap":false},"0.3.0":{"name":"pump","version":"0.3.0","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~0.1.2"},"scripts":{"test":"node test.js"},"bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.3.0","dist":{"shasum":"2c51031c988cf6ae3ebe65962dd06bfdac7a85c7","size":1931,"noattachment":false,"key":"/pump/-/pump-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1392198975952,"_cnpm_publish_time":1392198975952,"_hasShrinkwrap":false},"0.2.3":{"name":"pump","version":"0.2.3","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~0.1.2"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.2.3","dist":{"shasum":"8629de0a7f15631e29cb49c513b4e7b44775d8c1","size":1937,"noattachment":false,"key":"/pump/-/pump-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.2.3.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1388048994429,"_cnpm_publish_time":1388048994429,"_hasShrinkwrap":false},"0.2.2":{"name":"pump","version":"0.2.2","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~0.1.2"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.2.2","dist":{"shasum":"43b392b336f5e3a077345e4178b33db9b3c5251f","size":1937,"noattachment":false,"key":"/pump/-/pump-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.2.2.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1385916442667,"_cnpm_publish_time":1385916442667,"_hasShrinkwrap":false},"0.2.1":{"name":"pump","version":"0.2.1","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~0.1.2"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.2.1","dist":{"shasum":"ba51e60ae23543600d81cc83950f2ff6d6e8ef82","size":1934,"noattachment":false,"key":"/pump/-/pump-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.2.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1385515167732,"_cnpm_publish_time":1385515167732,"_hasShrinkwrap":false},"0.2.0":{"name":"pump","version":"0.2.0","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0","end-of-stream":"~0.1.1"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.2.0","dist":{"shasum":"41c2806a5df966f95130023173f37e8ae09a7247","size":1934,"noattachment":false,"key":"/pump/-/pump-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1385514838376,"_cnpm_publish_time":1385514838376,"_hasShrinkwrap":false},"0.1.7":{"name":"pump","version":"0.1.7","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.1.7","dist":{"shasum":"ce24cf21c27ddb70509131e231f896adce11c170","size":1895,"noattachment":false,"key":"/pump/-/pump-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.1.7.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1385291216909,"_cnpm_publish_time":1385291216909,"_hasShrinkwrap":false},"0.1.6":{"name":"pump","version":"0.1.6","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"homepage":"https://github.com/mafintosh/pump","_id":"pump@0.1.6","dist":{"shasum":"f0032bffd4f08cbca45f6b05c96d7fac85c71769","size":1888,"noattachment":false,"key":"/pump/-/pump-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.1.6.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1385288707649,"_cnpm_publish_time":1385288707649,"_hasShrinkwrap":false},"0.1.5":{"name":"pump","version":"0.1.5","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"_id":"pump@0.1.5","dist":{"shasum":"f207211a1023311076bb325e5dd0801238ccbd69","size":1887,"noattachment":false,"key":"/pump/-/pump-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.1.5.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1377356208720,"_cnpm_publish_time":1377356208720,"_hasShrinkwrap":false},"0.1.4":{"name":"pump","version":"0.1.4","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"_id":"pump@0.1.4","dist":{"shasum":"827811afcfa66abac3b97e0b115b87fe490f1d65","size":1980,"noattachment":false,"key":"/pump/-/pump-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.1.4.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1377344806802,"_cnpm_publish_time":1377344806802,"_hasShrinkwrap":false},"0.1.3":{"name":"pump","version":"0.1.3","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"_id":"pump@0.1.3","dist":{"shasum":"9df70f0b18e3f54c0ebcde6ba10db546caf76a01","size":1800,"noattachment":false,"key":"/pump/-/pump-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.1.3.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1377190718299,"_cnpm_publish_time":1377190718299,"_hasShrinkwrap":false},"0.1.2":{"name":"pump","version":"0.1.2","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"_id":"pump@0.1.2","dist":{"shasum":"fa9cd64e4ae7e75cfe79c39021f4bb7742a48654","size":1783,"noattachment":false,"key":"/pump/-/pump-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1376546335737,"_cnpm_publish_time":1376546335737,"_hasShrinkwrap":false},"0.1.1":{"name":"pump","version":"0.1.1","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"_id":"pump@0.1.1","dist":{"shasum":"9e97f8c8de790cbba09b1433b8e08a0695c6f6d6","size":1778,"noattachment":false,"key":"/pump/-/pump-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1376520105452,"_cnpm_publish_time":1376520105452,"_hasShrinkwrap":false},"0.1.0":{"name":"pump","version":"0.1.0","repository":{"type":"git","url":"git://github.com/mafintosh/pump.git"},"license":"MIT","description":"pipe streams together and close all of them if one of them closes","keywords":["streams","pipe","destroy","callback"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"once":"~1.2.0"},"scripts":{"test":"node test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"_id":"pump@0.1.0","dist":{"shasum":"666aa286bbee73fa38799dee9ab577102d1ba50d","size":1677,"noattachment":false,"key":"/pump/-/pump-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pump/download/pump-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1376510639214,"_cnpm_publish_time":1376510639214,"_hasShrinkwrap":false}},"readme":"# pump\n\npump is a small node module that pipes streams together and destroys all of them if one of them closes.\n\n```\nnpm install pump\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/pump.svg?style=flat)](http://travis-ci.org/mafintosh/pump)\n\n## What problem does it solve?\n\nWhen using standard `source.pipe(dest)` source will _not_ be destroyed if dest emits close or an error.\nYou are also not able to provide a callback to tell when then pipe has finished.\n\npump does these two things for you\n\n## Usage\n\nSimply pass the streams you want to pipe together to pump and add an optional callback\n\n``` js\nvar pump = require('pump')\nvar fs = require('fs')\n\nvar source = fs.createReadStream('/dev/random')\nvar dest = fs.createWriteStream('/dev/null')\n\npump(source, dest, function(err) {\n  console.log('pipe finished', err)\n})\n\nsetTimeout(function() {\n  dest.destroy() // when dest is closed pump will destroy source\n}, 1000)\n```\n\nYou can use pump to pipe more than two streams together as well\n\n``` js\nvar transform = someTransformStream()\n\npump(source, transform, anotherTransform, dest, function(err) {\n  console.log('pipe finished', err)\n})\n```\n\nIf `source`, `transform`, `anotherTransform` or `dest` closes all of them will be destroyed.\n\nSimilarly to `stream.pipe()`, `pump()` returns the last stream passed in, so you can do:\n\n```\nreturn pump(s1, s2) // returns s2\n```\n\nNote that `pump` attaches error handlers to the streams to do internal error handling, so if `s2` emits an\nerror in the above scenario, it will not trigger a `proccess.on('uncaughtException')` if you do not listen for it.\n\nIf you want to return a stream that combines *both* s1 and s2 to a single stream use\n[pumpify](https://github.com/mafintosh/pumpify) instead.\n\n## License\n\nMIT\n\n## Related\n\n`pump` is part of the [mississippi stream utility collection](https://github.com/maxogden/mississippi) which includes more useful stream modules similar to this one.\n\n## For enterprise\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of pump and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-pump?utm_source=npm-pump&utm_medium=referral&utm_campaign=enterprise)\n","_attachments":{},"homepage":"https://github.com/mafintosh/pump#readme","bugs":{"url":"https://github.com/mafintosh/pump/issues"},"license":"MIT"}