{"name":"@xhmikosr/decompress-tar","version":"8.1.0","keywords":["decompress","decompressplugin","extract","tar"],"author":{"url":"https://github.com/kevva","name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com"},"license":"MIT","_id":"@xhmikosr/decompress-tar@8.1.0","maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"homepage":"https://github.com/XhmikosR/decompress-tar#readme","bugs":{"url":"https://github.com/XhmikosR/decompress-tar/issues"},"xo":{"rules":{"unicorn/prevent-abbreviations":"off"}},"dist":{"shasum":"bb2c3898a7ada3f517a2de629fc4ea710b5b3240","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tar/download/@xhmikosr/decompress-tar-8.1.0.tgz","fileCount":4,"integrity":"sha512-m0q8x6lwxenh1CrsTby0Jrjq4vzW/QU1OLhTHMQLEdHpmjR1lgahGz++seZI0bXF3XcZw3U3xHfqZSz+JPP2Gg==","signatures":[{"sig":"MEYCIQCb//TogomjCuKOoL3Ky1JTag+xOaaX3awKnPE37CcqtQIhANgTbOPJEIeCYni8QF9K3YxD9dDjtzYy7Vfn9UCN4MlD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4369,"size":2201,"noattachment":false,"key":"/@xhmikosr/decompress-tar/-/@xhmikosr/decompress-tar-8.1.0.tgz"},"main":"index.js","type":"module","engines":{"node":">=18"},"exports":{".":"./index.js"},"gitHead":"be4109047b9fa1298f1fde1fe27af75a4fefed40","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-tar.git","type":"git"},"_npmVersion":"10.9.2","description":"decompress tar plugin","directories":{},"_nodeVersion":"22.17.1","dependencies":{"file-type":"^20.5.0","is-stream":"^2.0.1","tar-stream":"^3.1.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.60.0","ava":"~6.2.0","is-jpg":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/decompress-tar_8.1.0_1753191952174_0.37704506993828013","host":"s3://npm-registry-packages-npm-production"},"readme":"# @xhmikosr/decompress-tar [![npm version](https://img.shields.io/npm/v/@xhmikosr/decompress-tar?logo=npm&logoColor=fff)](https://www.npmjs.com/package/@xhmikosr/decompress-tar) [![CI Status](https://img.shields.io/github/actions/workflow/status/XhmikosR/decompress-tar/ci.yml?branch=master&label=CI&logo=github)](https://github.com/XhmikosR/decompress-tar/actions/workflows/ci.yml?query=branch%3Amaster)\n\n> tar decompress plugin\n\n\n## Install\n\n```sh\nnpm install @xhmikosr/decompress-tar\n```\n\n\n## Usage\n\n```js\nimport decompress from '@xhmikosr/decompress';\nimport decompressTar from '@xhmikosr/decompress-tar';\n\ndecompress('unicorn.tar', 'dist', {\n\tplugins: [\n\t\tdecompressTar()\n\t]\n}).then(() => {\n\tconsole.log('Files decompressed');\n});\n```\n\n\n## API\n\n### decompressTar()(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":1753191952383,"_cnpm_publish_time":1753191952383,"dist-tags":{"latest":"9.0.2"}}