{"_id":"@tryghost/extract-zip","_rev":"74-a3e08479c10f54ea5788596df1bed09b","name":"@tryghost/extract-zip","dist-tags":{"latest":"1.6.6"},"versions":{"1.6.6":{"name":"@tryghost/extract-zip","version":"1.6.6","keywords":["unzip","zip","extract"],"author":{"name":"max ogden"},"license":"BSD-2-Clause","_id":"@tryghost/extract-zip@1.6.6","maintainers":[{"name":"aileencgn","email":"aileen@ghost.org"},{"name":"cobbspur","email":"david@ghost.org"},{"name":"erisds","email":"github.erisds@gmail.com"},{"name":"johnonolan","email":"john@onolan.org"},{"name":"kevinansfield","email":"kevin@ghost.org"},{"name":"kirrg001","email":"katharina.irrgang@googlemail.com"}],"homepage":"https://github.com/maxogden/extract-zip#readme","bugs":{"url":"https://github.com/maxogden/extract-zip/issues"},"bin":{"extract-zip":"cli.js"},"dist":{"shasum":"937e0e775fec6dea937ac49d73a068bcafb67f50","tarball":"https://registry.npmjs.org/@tryghost/extract-zip/-/extract-zip-1.6.6.tgz","fileCount":7,"integrity":"sha512-HZ8Q/HgH36Fn0fOcAC2lGjTylu5ctMQn8jvwtCCiDfkg03BaBYv8xbEqqbDbz2/3v0i9pFrNdXHWheQGM1jXgw==","signatures":[{"sig":"MEQCIAEkqhMwMiyY2EedvWLP52F2QB/ZL7v9JSjUz+j170QYAiAePxH4iaVyhI81tITfpBdBhiLZLQ+/RU7jHf13k1DwUg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9U84CRA9TVsSAnZWagAAWLwP/jBpbwow4ip1Z9ZJwEOv\n3ApWM3u9MnTS4+tplQtNO4ab2PWcK3tDEwBEbTfuYZilvRc3tMor5Ps0rHEq\neJDlvkzB8cr0ZEf/H16x+QiNBWhMnZZeSXYIfYuvzaf4ys7PfioRY1Z5dMvl\n0pL7P5W13qTF8WIKDzjdX4UaE5Td9aLLu6N3CWkJv6apRAPEeYIIIwlhEEzn\nmWN6ldCpFcyW8uCM9G7/kqPETpKY+JSYhJR614VgXEZ7u//yYJTQRs8rRjzM\nFtqQjZ80mbCOfnJgVdaSyY/ja8CMeq/2t24gi8LndbXfHLT0vu/PExUz0Uig\nwo2fyogUiBcBhBD+3AjntH+VizjKUghFbk1buzrN5OLBdwNU7TwAfjVBQmJG\nbwELHqNYdZQ1D8DD7KkhqST6tVMsi7eX5JluU9j6zdLvYg5n9noIAl/Pc4pI\ngphGl78MUU7JX1vKI+YIpXOIahTsVOLNUr+KpSJdesN2kt6pX/HttRSuafMj\nde1RWN6iC6Y3ez53mjqeuAXCgAL1Iu0T/AmgL0WwnPQfa81T3dldgbIdS6Fj\nnjWV7U0z7NnYc3geYtmkfAShpe3jhb4vZgO4M2M55DiaaX/a4CGpgpUyw0Gf\nJD0TEmafZog6BaE0jgCJQBiIY7wfk7Kkc25/g6Ib8t3TqEdLdtbCrfeuiU3g\ncfPp\r\n=mLww\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ecf4ad64a2870323e0889a82f9f33d31a5b05ba6","scripts":{"test":"standard && node test/test.js"},"_npmUser":{"name":"aileencgn","email":"aileen@ghost.org"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/maxogden/extract-zip.git","type":"git"},"_npmVersion":"5.6.0","description":"unzip a zip file into a directory using 100% javascript","directories":{"test":"test"},"_nodeVersion":"8.11.1","dependencies":{"debug":"2.6.9","yauzl":"2.4.1","mkdirp":"0.5.0","concat-stream":"1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.2.0","temp":"^0.8.3","rimraf":"^2.2.8","standard":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/extract-zip_1.6.6_1526026039140_0.16542271882284387","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-05-11T08:07:19.055Z","modified":"2026-08-03T01:15:08.322Z","1.6.6":"2018-05-11T08:07:19.263Z"},"bugs":{"url":"https://github.com/maxogden/extract-zip/issues"},"author":{"name":"max ogden"},"license":"BSD-2-Clause","homepage":"https://github.com/maxogden/extract-zip#readme","keywords":["unzip","zip","extract"],"repository":{"url":"git+https://github.com/maxogden/extract-zip.git","type":"git"},"description":"unzip a zip file into a directory using 100% javascript","maintainers":[{"email":"zimo@ghost.org","name":"zimoatghost"},{"email":"fabien@allou.is","name":"allouis"},{"email":"matthew@ghost.org","name":"kernalghost"},{"email":"chris@ghost.org","name":"chrisraible"},{"email":"github.erisds@gmail.com","name":"erisds"},{"email":"john@onolan.org","name":"johnonolan"},{"email":"kevin@ghost.org","name":"kevinansfield"},{"email":"david@ghost.org","name":"cobbspur"},{"email":"aileen@ghost.org","name":"aileencgn"},{"email":"npmjs@jloh.co","name":"jloh"},{"email":"sodbileg.gansukh@gmail.com","name":"minimaluminium"},{"email":"hello@samlord.me","name":"sam-lord"},{"email":"paul@ghost.org","name":"pauladamdavis"},{"email":"bobvaneck@gmail.com","name":"bobvaneck"},{"email":"account@joegrigg.com","name":"joeegrigg"},{"email":"filip@ghost.org","name":"hadret"},{"email":"erik@ghost.org","name":"erik-ghost"},{"email":"guptazy@gmail.com","name":"sagzy"},{"email":"vershwal.princi@gmail.com","name":"vershwal"},{"email":"zach@ghost.org","name":"zach1618"},{"email":"mike182uk@gmail.com","name":"mike182uk"},{"email":"luis@ghost.org","name":"luissazevedo"},{"email":"leif@ghost.org","name":"lsinger"},{"email":"nick@ghost.org","name":"nickmoreton"},{"email":"renatocesarcp@gmail.com","name":"renatoworks"},{"email":"rob@ghost.org","name":"rblstr-ghost"},{"email":"evan@ghost.org","name":"evanhahn-ghost"},{"email":"austin@ghost.org","name":"austin.burdine"},{"email":"weyland.swart@gmail.com","name":"weylandswart"},{"email":"info@ghost.org","name":"ghost-slimer"},{"email":"tmciesco@gmail.com","name":"tmciesco"},{"email":"jonatan@ghost.org","name":"jonatan-ghost"},{"email":"9larsons@gmail.com","name":"9larsons"}],"readme":"# extract-zip\n\nUnzip written in pure JavaScript. Extracts a zip into a directory. Available as a library or a command line program.\n\nUses the [`yauzl`](http://npmjs.org/yauzl) ZIP parser.\n\n[![NPM](https://nodei.co/npm/extract-zip.png?global=true)](https://nodei.co/npm/extract-zip/)\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n[![Build Status](https://travis-ci.org/maxogden/extract-zip.svg?branch=master)](https://travis-ci.org/maxogden/extract-zip)\n\n## Installation\n\nGet the library:\n\n```\nnpm install extract-zip --save\n```\n\nInstall the command line program:\n\n```\nnpm install extract-zip -g\n```\n\n## JS API\n\n```js\nvar extract = require('extract-zip')\nextract(source, {dir: target}, function (err) {\n // extraction is complete. make sure to handle the err\n})\n```\n\n### Options\n\n- `dir` - defaults to `process.cwd()`\n- `defaultDirMode` - integer - Directory Mode (permissions) will default to `493` (octal `0755` in integer)\n- `defaultFileMode` - integer - File Mode (permissions) will default to `420` (octal `0644` in integer)\n- `onEntry` - function - if present, will be called with `(entry, zipfile)`, entry is every entry from the zip file forwarded from the `entry` event from yauzl. `zipfile` is the `yauzl` instance\n\nDefault modes are only used if no permissions are set in the zip file.\n\n## CLI Usage\n\n```\nextract-zip foo.zip <targetDirectory>\n```\n\nIf not specified, `targetDirectory` will default to `process.cwd()`.\n","readmeFilename":"readme.md"}