{"name":"@xhmikosr/decompress-targz","version":"9.0.0","keywords":["decompress","decompressplugin","extract","tar.gz","targz"],"author":{"url":"https://github.com/kevva","name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com"},"license":"MIT","_id":"@xhmikosr/decompress-targz@9.0.0","maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"homepage":"https://github.com/XhmikosR/decompress-targz#readme","bugs":{"url":"https://github.com/XhmikosR/decompress-targz/issues"},"xo":{"rules":{"unicorn/prevent-abbreviations":"off"}},"dist":{"shasum":"5099a05cb4108038482a1c89f17539733e732d81","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-targz/download/@xhmikosr/decompress-targz-9.0.0.tgz","fileCount":4,"integrity":"sha512-EQE9scWFaKrJWtyA9Ud+5QXgJJ0QPPJIiDNM4E6KV69WYwyuie/9lWftl46dqzHfu2uGlTzqlsqZv5O5u3gcFQ==","signatures":[{"sig":"MEYCIQC6OmHPAo5R51My4ibDj8B1JsxGJjQj7/n7O5P5LaEsigIhAK50cIoV5vs4jo/JQ3uQrEwNV34YVT9/v2tk13a54p+M","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3936,"size":2054,"noattachment":false,"key":"/@xhmikosr/decompress-targz/-/@xhmikosr/decompress-targz-9.0.0.tgz"},"main":"index.js","type":"module","engines":{"node":">=20"},"exports":{".":"./index.js"},"gitHead":"85807984beb9879d5eafd7ac930cab3d0259ee8b","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-targz.git","type":"git"},"_npmVersion":"11.8.0","description":"decompress tar.gz plugin","directories":{},"_nodeVersion":"24.13.1","dependencies":{"file-type":"^21.3.0","is-stream":"^4.0.1","@xhmikosr/decompress-tar":"^8.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.3","ava":"^6.4.1","is-jpg":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/decompress-targz_9.0.0_1771954909264_0.8182817503315618","host":"s3://npm-registry-packages-npm-production"},"readme":"# decompress-targz [![npm version](https://img.shields.io/npm/v/@xhmikosr/decompress-targz?logo=npm&logoColor=fff)](https://www.npmjs.com/package/@xhmikosr/decompress-targz) [![CI Status](https://img.shields.io/github/actions/workflow/status/XhmikosR/decompress-targz/ci.yml?branch=master&label=CI&logo=github)](https://github.com/XhmikosR/decompress-targz/actions/workflows/ci.yml?query=branch%3Amaster)\n\n> tar.gz decompress plugin\n\n\n## Install\n\n```sh\nnpm install @xhmikosr/decompress-targz\n```\n\n\n## Usage\n\n```js\nimport decompress from '@xhmikosr/decompress';\nimport decompressTargz from '@xhmikosr/decompress-targz';\n\ndecompress('unicorn.tar.gz', 'dist', {\n\tplugins: [\n\t\tdecompressTargz()\n\t]\n}).then(() => {\n\tconsole.log('Files decompressed');\n});\n```\n\n\n## API\n\n### decompressTargz()(input)\n\nReturns both a Promise for a Buffer and a [Duplex stream](https://nodejs.org/api/stream.html#stream_class_stream_duplex).\n\n#### input\n\nType: `Buffer` `Stream`\n\nBuffer or stream to decompress.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","publish_time":1771954909415,"_cnpm_publish_time":1771954909415,"dist-tags":{"latest":"9.0.1"}}