{"name":"@xhmikosr/decompress-unzip","version":"8.0.1","keywords":["decompress","decompressplugin","extract","zip"],"author":{"url":"https://github.com/kevva","name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com"},"license":"MIT","_id":"@xhmikosr/decompress-unzip@8.0.1","maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"homepage":"https://github.com/XhmikosR/decompress-unzip#readme","bugs":{"url":"https://github.com/XhmikosR/decompress-unzip/issues"},"xo":{"rules":{"promise/prefer-await-to-then":"off","unicorn/prevent-abbreviations":"off"}},"dist":{"shasum":"c4ff42ebc23b283aae70830b4f13592ca6920f04","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-unzip/download/@xhmikosr/decompress-unzip-8.0.1.tgz","fileCount":4,"integrity":"sha512-gp8huEoOrVHwJVD15MVS1IoBnKYWLg8LEsj0SHreXeGF3VcdZzirAcZvL1RbAHigARpkPhhN63JlbT8AjlClDw==","signatures":[{"sig":"MEQCICPalJW/5pKzo+z4eoghvzLT0NCPvU1j1TXqpR44mP18AiBx7JvIs6Jcbw3H8Gya/2mcrr4GIpdhBseQ0iEduiG9BQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4928,"size":2473,"noattachment":false,"key":"/@xhmikosr/decompress-unzip/-/@xhmikosr/decompress-unzip-8.0.1.tgz"},"main":"index.js","type":"module","engines":{"node":">=20"},"exports":{".":"./index.js"},"gitHead":"87b2efc94aea5186230767c3fec1a89e447a4c56","scripts":{"xo":"xo","ava":"ava","fix":"xo --fix","lint":"xo","test":"npm run ava"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"repository":{"url":"git+https://github.com/XhmikosR/decompress-unzip.git","type":"git"},"_npmVersion":"11.9.0","description":"decompress zip plugin","directories":{},"_nodeVersion":"24.14.0","dependencies":{"yauzl":"^3.2.0","file-type":"^21.3.0","get-stream":"^6.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.3","ava":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/decompress-unzip_8.0.1_1772194751220_0.21947203947125082","host":"s3://npm-registry-packages-npm-production"},"readme":"# @xhmikosr/decompress-unzip [![npm version](https://img.shields.io/npm/v/@xhmikosr/decompress-unzip?logo=npm&logoColor=fff)](https://www.npmjs.com/package/@xhmikosr/decompress-unzip) [![CI Status](https://img.shields.io/github/actions/workflow/status/XhmikosR/decompress-unzip/ci.yml?branch=master&label=CI&logo=github)](https://github.com/XhmikosR/decompress-unzip/actions/workflows/ci.yml?query=branch%3Amaster)\n\n> zip decompress plugin\n\n\n## Install\n\n```sh\nnpm install @xhmikosr/decompress-unzip\n```\n\n\n## Usage\n\n```js\nimport decompress from '@xhmikosr/decompress';\nimport decompressUnzip from '@xhmikosr/decompress-unzip';\n\ndecompress('unicorn.zip', 'dist', {\n\tplugins: [\n\t\tdecompressUnzip()\n\t]\n}).then(() => {\n\tconsole.log('Files decompressed');\n});\n```\n\n\n## API\n\n### decompressUnzip()(buf)\n\n#### buf\n\nType: `Buffer`\n\nBuffer to decompress.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","publish_time":1772194751362,"_cnpm_publish_time":1772194751362,"dist-tags":{"latest":"8.2.1"}}