{"name":"@xhmikosr/decompress-tar","version":"9.0.1","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@9.0.1","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":"0a9dda01606107e926419baa81e8e07b3979f001","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tar/download/@xhmikosr/decompress-tar-9.0.1.tgz","fileCount":4,"integrity":"sha512-4AkVR1SoqTxYY22IRRYKDeLirPIDGqMqYsqgjKYuwhgRcBb+yDP4t5Xph33UCzL/nahK/aADmlMEjTNstbX7kw==","signatures":[{"sig":"MEUCIALvhsTiV6LK385dFO9AWArPXZlSyPDD3cIZLv3z2O1/AiEA5uCPLxDJrMrA/eph8KdNqFTMD8WpgGFCfcuyroqVtPw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4626,"size":2327,"noattachment":false,"key":"/@xhmikosr/decompress-tar/-/@xhmikosr/decompress-tar-9.0.1.tgz"},"main":"index.js","type":"module","engines":{"node":">=20"},"exports":{".":"./index.js"},"gitHead":"fec810e06126b68533724f4977f4fc9dbacfecc7","scripts":{"xo":"xo","ava":"ava","fix":"xo --fix","lint":"xo","test":"npm run xo && npm run ava","test-ci":"c8 ava"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"repository":{"url":"git+https://github.com/XhmikosR/decompress-tar.git","type":"git"},"_npmVersion":"11.9.0","description":"decompress tar plugin","directories":{},"_nodeVersion":"24.14.0","dependencies":{"file-type":"^21.3.0","is-stream":"^4.0.1","tar-stream":"3.1.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","xo":"^1.2.3","ava":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/decompress-tar_9.0.1_1772778325136_0.6241492157062196","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":1772778325290,"_cnpm_publish_time":1772778325290,"dist-tags":{"latest":"9.0.2"}}