{"name":"@xhmikosr/decompress-unzip","version":"8.2.1","description":"decompress zip plugin","license":"MIT","repository":{"type":"git","url":"git+https://github.com/XhmikosR/decompress-unzip.git"},"publishConfig":{"access":"public"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=20"},"scripts":{"ava":"ava","lint":"xo","xo":"xo","fix":"xo --fix","test":"npm run xo && npm run ava","test-ci":"c8 ava"},"main":"index.js","type":"module","exports":{".":"./index.js"},"keywords":["decompress","decompressplugin","extract","zip"],"dependencies":{"file-type":"^21.3.4","get-stream":"^9.0.1","yauzl":"^3.4.0"},"devDependencies":{"ava":"^7.0.0","c8":"^11.0.0","xo":"^2.0.2"},"xo":{"rules":{"unicorn/prevent-abbreviations":"off"}},"gitHead":"7a0304953b5e3918575e36af6fd673d8d74a54ff","_id":"@xhmikosr/decompress-unzip@8.2.1","bugs":{"url":"https://github.com/XhmikosR/decompress-unzip/issues"},"homepage":"https://github.com/XhmikosR/decompress-unzip#readme","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-2MS94QnmXQwjkKN8WyFiu1sU7J3rcWJcMze4kRYsX7tN+CXpUGECgkh4YSOhujpkWPuVlFudIziJHO/TxOqkQQ==","shasum":"f684f202c5f216380e4755d26b39cddfa22b4cb5","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-unzip/download/@xhmikosr/decompress-unzip-8.2.1.tgz","fileCount":4,"unpackedSize":4587,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDV5B1z2H/GXRr3yOat/B7iTR7EOEacOFt9abA2Lrk/5QIhAKsgNQtkVyj6Q0VoYOzek0lBeLOIp0RlTCnZ8MI2SbcQ"}],"size":2332,"noattachment":false,"key":"/@xhmikosr/decompress-unzip/-/@xhmikosr/decompress-unzip-8.2.1.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/decompress-unzip_8.2.1_1781244881210_0.6382021211044224"},"_hasShrinkwrap":false,"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":1781244881343,"_cnpm_publish_time":1781244881343,"dist-tags":{"latest":"8.2.1"}}