{"name":"@xhmikosr/decompress-tar","version":"9.0.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@9.0.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":"87cf6518b03461a5334926042740951167f57845","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tar/download/@xhmikosr/decompress-tar-9.0.0.tgz","fileCount":4,"integrity":"sha512-r8C2ps9dUs5S+m8ner+yX2Xdhq0VsFa8jEixTuQxpsWm6zO7gLOcGWWkfkarVmvPliyVPb1k3M5iLsD6pzHTEQ==","signatures":[{"sig":"MEQCIEr1UfnY7HXR2bnTICJgYpU6GkY6v1jBcc2nZrKMZBAlAiAKZWnznl0f43V6JuS081WgwnzorjA4+y33SicUuoJ7eQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4593,"size":2315,"noattachment":false,"key":"/@xhmikosr/decompress-tar/-/@xhmikosr/decompress-tar-9.0.0.tgz"},"main":"index.js","type":"module","engines":{"node":">=20"},"exports":{".":"./index.js"},"gitHead":"e37875303b478ab1b1cd894fbe17ada22498b1e0","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":"11.8.0","description":"decompress tar plugin","directories":{},"_nodeVersion":"24.13.1","dependencies":{"file-type":"^21.3.0","is-stream":"^4.0.1","tar-stream":"^3.1.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.3","ava":"^6.4.1","is-jpg":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/decompress-tar_9.0.0_1771955140524_0.029117325600358512","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":1771955140670,"_cnpm_publish_time":1771955140670,"dist-tags":{"latest":"9.0.2"}}