{"_id":"unzip-crx-3","_rev":"1-5a591ffbc1e9a018ceb6817875388356","name":"unzip-crx-3","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"unzip-crx-3","version":"0.2.0","description":"Unzip chrome extension files","main":"./dist/index.js","scripts":{"prebuild":"rm -rf dist && mkdir dist","build":"babel src --out-dir dist","lint":"eslint ./src","prepublish":"npm run build","test":"mocha -R spec --recursive --compilers js:babel-core/register","test-watch":"mocha --recursive --watch --compilers js:babel-core/register","posttest":"npm run lint","coverage":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"keywords":["unzip","crx","chrome","extensions","zip"],"author":{"name":"Peerigon developers","email":"developers@peerigon.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/peerigon/unzip-crx.git"},"devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.11.4","babel-preset-es2015":"^6.9.0","coveralls":"^2.11.12","eslint":"^3.2.2","eslint-config-peerigon":"^6.0.0","eslint-plugin-jsdoc":"^2.3.1","mocha":"^3.0.1","mock-fs":"^3.11.0","nyc":"^7.1.0","temp":"^0.8.3","unexpected":"^10.15.0"},"dependencies":{"jszip":"^3.1.0","mkdirp":"^0.5.1","yaku":"^0.16.6"},"gitHead":"85baf0b54c243c4ed836d161bcf145a4d4611567","bugs":{"url":"https://github.com/peerigon/unzip-crx/issues"},"homepage":"https://github.com/peerigon/unzip-crx#readme","_id":"unzip-crx-3@0.2.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"brianbondy","email":"bbondy@gmail.com"},"dist":{"integrity":"sha512-0+JiUq/z7faJ6oifVB5nSwt589v1KCduqIJupNVDoWSXZtWDmjDGO3RAEOvwJ07w90aoXoP4enKsR7ecMrJtWQ==","shasum":"d5324147b104a8aed9ae8639c95521f6f7cda292","tarball":"https://registry.npmjs.org/unzip-crx-3/-/unzip-crx-3-0.2.0.tgz","fileCount":16,"unpackedSize":12967,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhjbsCRA9TVsSAnZWagAABLwP/AodV1qMH3OCU7ZK/Vdt\nU0mZko8odByDeHiKkgfrDAhqKeit6UkXRvBBBVD3gSG2QcKMruuIz/lsDlmd\nrF7z0e2f/TGfcnaUFVnM8kvY6ATBHlc6KkGlGDqrBxINQmcFQPDeQ+ZAShmU\nEq1F5f/TULB4SkBSAxDFrvvEFF1Fh8QAJmYNCmhpWLj4U6WIIaonvf0kN6Xi\n2npPsupuxfVcNpo/NV8+UyFERlt+SgY9K4PMv1mW2lF5dwJBtFQ5qZ2JDI4x\nWCeCZ04aYmfZ8Wdb8rDHIkYeAQdLmFCP+SsLZ+/AvyXrXIwe1OmtsOW9N8ZS\n7PyloKin7yH/vTMLqfAseH8nc7C90LH77WrKV/FRcRZvBzVL6RMDO5e8T905\nz+mveWPuGrvj+HAt8Iww00pS17Z/9r1dbJPNSGQHTtKt06f0x0b2bRae+xNA\npksn3lCIEZhEJc7b602chMgj4zZ4QckewmUn1DD9kzzK7R29JB73rDGtWWfY\nCSqzSrFoS/5XKajHPrbVXACnfR3rv/SQWs05rmVYL5szR1560NTb8mNbVt9d\nlQCiYJSIAfBJzJ2MgWh8mzbZRqDkBVQnvkvdyTCalyi+NU72Qam3Q2U+rwqf\n6FEe/zcFxM6xRQOjQciiXLcWKfu/9Il00950k9Pt9Q7nLGiKEwTEbusX/gVx\nLcfr\r\n=UUtU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHH8Tg6m8gf5LLuXcZ9VQktTtEj3ViX9rraaweYJtLkYAiEA8dinYh9Dc4hzpfkAnLe5nMMN+D2PeCTso8zlkycJHQY="}]},"maintainers":[{"name":"brianbondy","email":"bbondy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unzip-crx-3_0.2.0_1535522540219_0.06233300676501541"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-29T06:02:20.218Z","0.2.0":"2018-08-29T06:02:20.324Z","modified":"2022-05-22T20:10:50.209Z"},"maintainers":[{"name":"brianbondy","email":"bbondy@gmail.com"}],"description":"Unzip chrome extension files","homepage":"https://github.com/peerigon/unzip-crx#readme","keywords":["unzip","crx","chrome","extensions","zip"],"repository":{"type":"git","url":"git+https://github.com/peerigon/unzip-crx.git"},"author":{"name":"Peerigon developers","email":"developers@peerigon.com"},"bugs":{"url":"https://github.com/peerigon/unzip-crx/issues"},"license":"MIT","readme":"# unzip-crx\n\n__Unzip chrome extension files__\n\n[![Build Status](https://travis-ci.org/peerigon/unzip-crx.svg?branch=master)](https://travis-ci.org/peerigon/unzip-crx) [![Dependency Status](https://david-dm.org/peerigon/unzip-crx.svg)](https://david-dm.org/peerigon/unzip-crx) [![Coverage Status](https://coveralls.io/repos/github/peerigon/unzip-crx/badge.svg?branch=master)](https://coveralls.io/github/peerigon/unzip-crx?branch=master)\n\nIf you want to unzip [Chrome extension files](https://developer.chrome.com/extensions) (*.crx) you might have the problem that your unzip lib claims that the file header is malformed. This is due to that Chrome [adds some extra information](https://developer.chrome.com/extensions/crx) for identifying crx files. `unzip-crx` handles those additional headers and unzips as usual.\n\nThis lib is highly inspired by [crx2ff](https://github.com/abarreir/crx2ff) from [abarreir](https://github.com/abarreir), thanks!\n\n## Installation\n\n```\n$ npm install unzip-crx\n```\n\n## Example\n\n```js\nconst unzip = require(\"unzip-crx\");\n\nconst crxFile = \"./this-chrome-extension.crx\";\n\nunzip(crxFile).then(() => {\n  console.log(\"Successfully unzipped your crx file..\");\n});\n\n```\n\n## API\n\n### unzip(file[, destination])\n\nResolves with a Promise if the file was unzipped successfully, throws otherwise (use `.catch()`).\n\n\n\n## Contributing\n\nFrom opening a bug report to creating a pull request: **every contribution is appreciated and welcome**. If you're planing to implement a new feature or change the api please create an issue first. This way we can ensure that your precious work is not in vain.\n\nAll pull requests should have 100% test coverage (with notable exceptions) and need to pass all tests.\n\n- Call `npm test` to run the unit tests\n- Call `npm run coverage` to check the test coverage (using [istanbuljs/nyc](https://github.com/istanbuljs/nyc))\n\n## LICENSE\n\nMIT\n","readmeFilename":"README.md"}