{"_id":"unzip-stream","_rev":"4658028","name":"unzip-stream","description":"Process zip files using streaming API","dist-tags":{"latest":"0.3.4"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"time":{"modified":"2026-04-10T21:24:22.000Z","created":"2014-11-21T15:37:14.626Z","0.3.4":"2024-04-20T17:21:42.986Z","0.3.3":"2024-04-20T17:11:40.355Z","0.3.2":"2024-04-20T17:04:54.284Z","0.3.1":"2020-10-04T13:42:12.289Z","0.3.0":"2018-01-19T14:59:30.329Z","0.2.3":"2018-01-18T21:37:10.348Z","0.2.2":"2018-01-01T19:37:47.177Z","0.2.1":"2017-11-10T18:13:27.173Z","0.2.0":"2017-11-10T16:59:13.967Z","0.1.2":"2017-03-19T13:00:02.460Z","0.1.1":"2017-02-27T01:36:24.845Z","0.1.0":"2017-02-26T20:24:43.665Z","0.0.0":"2014-11-21T15:37:14.626Z"},"users":{},"author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"versions":{"0.3.4":{"name":"unzip-stream","version":"0.3.4","description":"Process zip files using streaming API","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","mkdirp":"^0.5.1"},"devDependencies":{"dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1","tap":"^11.0.1","temp":">= 0.4.0 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js","coverage":"tap ./test/*.js --cov --coverage-report=html"},"gitHead":"59be32d8d02ace71a81471e0eb09329f3f87741f","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.3.4","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"shasum":"b4576755061809cf210b776cf26888d6a7823ead","size":9985,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.3.4.tgz"},"_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-stream_0.3.4_1713633702818_0.8582329445125392"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-20T17:21:42.986Z","publish_time":1713633702986,"_source_registry_name":"default","_cnpm_publish_time":1713633702986},"0.3.3":{"name":"unzip-stream","version":"0.3.3","description":"Process zip files using streaming API","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","mkdirp":"^0.5.1"},"devDependencies":{"dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1","tap":"^11.0.1","temp":">= 0.4.0 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js","coverage":"tap ./test/*.js --cov --coverage-report=html"},"gitHead":"5402dbfde9c68463ebc0f313ba0fc1d16a2abf08","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.3.3","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"shasum":"3ee64b786cd8084b01b40789295770f31d897783","size":10679,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.3.3.tgz"},"_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-stream_0.3.3_1713633100142_0.5546132761027325"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-20T17:11:40.355Z","publish_time":1713633100355,"_source_registry_name":"default","_cnpm_publish_time":1713633100355},"0.3.2":{"name":"unzip-stream","version":"0.3.2","description":"Process zip files using streaming API","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","mkdirp":"^0.5.1"},"devDependencies":{"dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1","tap":"^11.0.1","temp":">= 0.4.0 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js","coverage":"tap ./test/*.js --cov --coverage-report=html"},"gitHead":"1f51ce4b140af7851cfdf674eaa3acce0d3bbeaf","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.3.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"shasum":"e7bfd887f4c9a284b46978693ba54e0d4f5095df","size":15476,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.3.2.tgz"},"_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-stream_0.3.2_1713632694103_0.08081112237799015"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-20T17:04:54.284Z","publish_time":1713632694284,"_source_registry_name":"default","_cnpm_publish_time":1713632694284},"0.3.1":{"name":"unzip-stream","version":"0.3.1","description":"Process zip files using streaming API","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","mkdirp":"^0.5.1"},"devDependencies":{"dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1","tap":"^11.0.1","temp":">= 0.4.0 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js","coverage":"tap ./test/*.js --cov --coverage-report=html"},"gitHead":"4a4be03d5e13ce5408b8be3dee970d15212ca532","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.3.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"dist":{"shasum":"2333b5cd035d29db86fb701ca212cf8517400083","size":15221,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.3.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-stream_0.3.1_1601818932126_0.02795246552986841"},"_hasShrinkwrap":false,"publish_time":1601818932289,"_cnpm_publish_time":1601818932289},"0.3.0":{"name":"unzip-stream","version":"0.3.0","description":"Process zip files using streaming API","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","mkdirp":"^0.5.1"},"devDependencies":{"dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1","tap":"^11.0.1","temp":">= 0.4.0 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js","coverage":"tap ./test/*.js --cov --coverage-report=html"},"gitHead":"59e3b97c1867a149315cce6578f661aa167048a5","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.3.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"dist":{"shasum":"c30c054cd6b0d64b13a23cd3ece911eb0b2b52d8","size":122410,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.3.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-stream-0.3.0.tgz_1516373969095_0.6538188336417079"},"publish_time":1516373970329,"_hasShrinkwrap":false,"_cnpm_publish_time":1516373970329},"0.2.3":{"name":"unzip-stream","version":"0.2.3","description":"Process zip files using streaming API","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","mkdirp":"^0.5.1"},"devDependencies":{"tap":">= 0.3.0 < 1","temp":">= 0.4.0 < 1","dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js"},"gitHead":"66c859de9c14991711be1f4e3feb12716b6b7ec0","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.2.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"dist":{"shasum":"79c1c4b30a050342e2550555a73d9836bffe89be","size":13719,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.2.3.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-stream-0.2.3.tgz_1516311429409_0.40719303069636226"},"publish_time":1516311430348,"_cnpm_publish_time":1516311430348,"_hasShrinkwrap":false},"0.2.2":{"name":"unzip-stream","version":"0.2.2","description":"Process zip files using streaming API","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","mkdirp":"^0.5.1"},"devDependencies":{"tap":">= 0.3.0 < 1","temp":">= 0.4.0 < 1","dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js"},"gitHead":"3c54f7ee34a135349b594c59fedf8ddcdfc7b743","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.2.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"dist":{"shasum":"7a04cf987013bdc4595d3821cd54557110d45d0e","size":13703,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.2.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-stream-0.2.2.tgz_1514835466284_0.6010593737009913"},"publish_time":1514835467177,"_hasShrinkwrap":false,"_cnpm_publish_time":1514835467177},"0.2.1":{"name":"unzip-stream","version":"0.2.1","description":"Process zip files using streaming API","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","mkdirp":"^0.5.1"},"devDependencies":{"tap":">= 0.3.0 < 1","temp":">= 0.4.0 < 1","dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js"},"gitHead":"942f76c5c34f3384f049ae7f143f1f4d55d55ef4","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.2.1","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"dist":{"shasum":"2a52fde6e57788dfb1297aab38c70ec548dfae91","size":11504,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.2.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-stream-0.2.1.tgz_1510337606128_0.5072123226709664"},"publish_time":1510337607173,"_hasShrinkwrap":false,"_cnpm_publish_time":1510337607173},"0.2.0":{"name":"unzip-stream","version":"0.2.0","description":"Process zip files using streaming API","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","mkdirp":"^0.5.1"},"devDependencies":{"tap":">= 0.3.0 < 1","temp":">= 0.4.0 < 1","dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js"},"gitHead":"d5823009634ad448873ec984bed84c18ee92f9b5","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.2.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"dist":{"shasum":"b01e2fc59220f2b82cf4c4d6e4b0daf4b769a512","size":11408,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.2.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-stream-0.2.0.tgz_1510333153014_0.32547965040430427"},"publish_time":1510333153967,"_cnpm_publish_time":1510333153967,"_hasShrinkwrap":false},"0.1.2":{"name":"unzip-stream","version":"0.1.2","description":"Unzip cross-platform streaming API compatible with fstream","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/unzip-stream.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","fstream":"^1.0.10"},"devDependencies":{"tap":">= 0.3.0 < 1","temp":">= 0.4.0 < 1","dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js"},"gitHead":"5e96a269e626e0b5df6714b27524d7fbb243a348","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"homepage":"https://github.com/mhr3/unzip-stream#readme","_id":"unzip-stream@0.1.2","_shasum":"63a7695beedd9ae21ed228970b77896346234fa5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.1","_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"dist":{"shasum":"63a7695beedd9ae21ed228970b77896346234fa5","size":11704,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/unzip-stream-0.1.2.tgz_1489928402200_0.3821653313934803"},"publish_time":1489928402460,"_cnpm_publish_time":1489928402460,"_hasShrinkwrap":false},"0.1.1":{"name":"unzip-stream","version":"0.1.1","description":"Unzip cross-platform streaming API compatible with fstream","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/node-unzip.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","fstream":"^1.0.10"},"devDependencies":{"tap":">= 0.3.0 < 1","temp":">= 0.4.0 < 1","dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js"},"gitHead":"20d545bd6141b0638e3676fac24f86f4aff99031","bugs":{"url":"https://github.com/mhr3/node-unzip/issues"},"homepage":"https://github.com/mhr3/node-unzip#readme","_id":"unzip-stream@0.1.1","_shasum":"d9c08af7a2c8e2e7143e9cf2b188eab9b64f711c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.1","_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"dist":{"shasum":"d9c08af7a2c8e2e7143e9cf2b188eab9b64f711c","size":11362,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/unzip-stream-0.1.1.tgz_1488159382722_0.793290052562952"},"publish_time":1488159384845,"_cnpm_publish_time":1488159384845,"_hasShrinkwrap":false},"0.1.0":{"name":"unzip-stream","version":"0.1.0","description":"Unzip cross-platform streaming API compatible with fstream","author":{"name":"Michal Hruby","email":"michal.mhr@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/mhr3/node-unzip.git"},"license":"MIT","dependencies":{"binary":"^0.3.0","fstream":"^1.0.10"},"devDependencies":{"tap":">= 0.3.0 < 1","temp":">= 0.4.0 < 1","dirdiff":">= 0.0.1 < 1","stream-buffers":">= 0.2.5 < 1"},"directories":{"example":"examples","test":"test"},"keywords":["zip","unzip","zlib","uncompress","archive","stream","extract"],"main":"unzip.js","scripts":{"test":"tap ./test/*.js"},"gitHead":"a2068ce8292719b18a86a372e2ee082ac52e818d","bugs":{"url":"https://github.com/mhr3/node-unzip/issues"},"homepage":"https://github.com/mhr3/node-unzip#readme","_id":"unzip-stream@0.1.0","_shasum":"4f7cc9991990f863fa1f550ef12b9e16cd592afd","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.1","_npmUser":{"name":"mhr3","email":"michal.mhr@gmail.com"},"dist":{"shasum":"4f7cc9991990f863fa1f550ef12b9e16cd592afd","size":10731,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/unzip-stream-0.1.0.tgz_1488140683096_0.4639503837097436"},"publish_time":1488140683665,"_cnpm_publish_time":1488140683665,"_hasShrinkwrap":false},"0.0.0":{"name":"unzip-stream","version":"0.0.0","description":"unzip zipfile streams in node","main":"index.js","scripts":{"test":"mocha"},"author":{"name":"Andy Trevorah"},"license":"MIT","dependencies":{"decompress-zip":"^0.0.8","temp":"^0.8.1"},"devDependencies":{"concat-stream":"^1.4.6"},"directories":{"test":"test"},"repository":{"type":"git","url":"https://github.com/trevorah/unzip-stream.git"},"bugs":{"url":"https://github.com/trevorah/unzip-stream/issues"},"homepage":"https://github.com/trevorah/unzip-stream","gitHead":"4dc0a336f0e132e6fc339ca0da9dbeb246a9d55a","_id":"unzip-stream@0.0.0","_shasum":"c112f312c7d161a1c975592af07c361fee9b8134","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"trevorah","email":"a.trevorah@gmail.com"},"maintainers":[{"name":"mhr3","email":"michal.mhr@gmail.com"}],"dist":{"shasum":"c112f312c7d161a1c975592af07c361fee9b8134","size":1420,"noattachment":false,"key":"/unzip-stream/-/unzip-stream-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unzip-stream/download/unzip-stream-0.0.0.tgz"},"publish_time":1416584234626,"_cnpm_publish_time":1416584234626,"_hasShrinkwrap":false}},"readme":"# unzip-stream [![Build Status](https://travis-ci.org/mhr3/unzip-stream.svg?branch=master)](https://travis-ci.org/mhr3/unzip-stream)\n\nStreaming cross-platform unzip tool written in node.js.\n\nThis package is based on [unzip](https://github.com/EvanOxfeld/node-unzip) (and its fork [unzipper](https://github.com/ZJONSSON/node-unzipper)) and provides simple APIs for parsing and extracting zip files. It uses new streaming engine which allows it to process also files which would fail with unzip.\nThere are no added compiled dependencies - inflation is handled by node.js's built in zlib support.\n\nPlease note that the zip file format isn't really meant to be processed by streaming, though this library should succeed in most cases, if you do have complete zip file available, you should consider using other libraries which read zip files from the end - as originally intended (for example [yauzl](https://github.com/thejoshwolfe/yauzl) or [decompress-zip](https://github.com/bower/decompress-zip)).\n\n## Installation\n\n```bash\n$ npm install unzip-stream\n```\n\n## Quick Examples\n\n### Parse zip file contents\n\nProcess each zip file entry or pipe entries to another stream.\n\n__Important__: If you do not intend to consume an entry stream's raw data, call autodrain() to dispose of the entry's\ncontents. Otherwise the stream will get stuck.\n\n```javascript\nfs.createReadStream('path/to/archive.zip')\n  .pipe(unzip.Parse())\n  .on('entry', function (entry) {\n    var filePath = entry.path;\n    var type = entry.type; // 'Directory' or 'File'\n    var size = entry.size; // might be undefined in some archives\n    if (filePath === \"this IS the file I'm looking for\") {\n      entry.pipe(fs.createWriteStream('output/path'));\n    } else {\n      entry.autodrain();\n    }\n  });\n```\n\n### Parse zip by piping entries downstream\n\nIf you `pipe` from unzip-stream the downstream components will receive each `entry` for further processing.   This allows for clean pipelines transforming zipfiles into unzipped data.\n\nExample using `stream.Transform`:\n\n```js\nfs.createReadStream('path/to/archive.zip')\n  .pipe(unzip.Parse())\n  .pipe(stream.Transform({\n    objectMode: true,\n    transform: function(entry,e,cb) {\n      var filePath = entry.path;\n      var type = entry.type; // 'Directory' or 'File'\n      var size = entry.size;\n      if (filePath === \"this IS the file I'm looking for\") {\n        entry.pipe(fs.createWriteStream('output/path'))\n          .on('finish',cb);\n      } else {\n        entry.autodrain();\n        cb();\n      }\n    }\n  }\n  }));\n```\n\n### Extract to a directory\n```javascript\nfs.createReadStream('path/to/archive.zip').pipe(unzip.Extract({ path: 'output/path' }));\n```\n\nExtract will emit the 'close' event when the archive is fully extracted, do NOT use the 'finish' event, which can be emitted before the writing finishes.\n\n### Extra options\nThe `Parse` and `Extract` methods allow passing an object with `decodeString` property which will be used to decode non-utf8 file names in the archive. If not specified a fallback will be used.\n```javascript\nlet parser = unzip.Parse({ decodeString: (buffer) => { return iconvLite.decode(buffer, 'iso-8859-2'); } });\ninput.pipe(parser).pipe(...);\n```\n\n### Change history\n\n- 0.3.0 - Added full support for Zip64\n- 0.2.3 - Fix compatibility with node4\n- 0.2.2 - Better handling of unicode file names\n- 0.2.0 - Make Extract() emit 'close' only once all files are written\n- 0.1.2 - Deal with non-zip64 files larger than 4GB\n- 0.1.0 - Implemented new streaming engine\n\n### What's missing?\n\nCurrently ZIP files up to version 4.5 are supported (which includes Zip64 support - archives with 4GB+ files). There's no support for encrypted (password protected) zips, or symlinks.\n","_attachments":{},"homepage":"https://github.com/mhr3/unzip-stream#readme","bugs":{"url":"https://github.com/mhr3/unzip-stream/issues"},"license":"MIT"}