{"name":"@xhmikosr/decompress-tarbz2","version":"9.0.0","keywords":["bz2","decompress","decompressplugin","extract","tar","tar.bz2","tarbz2"],"author":{"url":"https://github.com/kevva","name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com"},"license":"MIT","_id":"@xhmikosr/decompress-tarbz2@9.0.0","maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"homepage":"https://github.com/XhmikosR/decompress-tarbz2#readme","bugs":{"url":"https://github.com/XhmikosR/decompress-tarbz2/issues"},"xo":{"rules":{"unicorn/prevent-abbreviations":"off"}},"dist":{"shasum":"9415a6247c4e0bf0d4b4858953bc5c5cf9088722","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tarbz2/download/@xhmikosr/decompress-tarbz2-9.0.0.tgz","fileCount":4,"integrity":"sha512-/XHLD2HeE1czj57dgwq9HczBtrzKfVxqT59DUT39yorPeHtQ+PaYgqV1i9/Qb6XJ/qEYeg1FkAtl9gNW7Jwtjg==","signatures":[{"sig":"MEUCIQCG0VqBVVZ5AcJGre7uqpQoz9EwYfyexiX3DB0FkH3OAgIgQY+5/Bmic1AOdSuJVLCbgCgymlSMnrHHdK3GyeEOkrg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4031,"size":2071,"noattachment":false,"key":"/@xhmikosr/decompress-tarbz2/-/@xhmikosr/decompress-tarbz2-9.0.0.tgz"},"main":"index.js","type":"module","engines":{"node":">=20"},"exports":{".":"./index.js"},"gitHead":"fef53e59b232d3dc443058baa571557ccf89efe2","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-tarbz2.git","type":"git"},"_npmVersion":"11.8.0","description":"decompress tar.bz2 plugin","directories":{},"_nodeVersion":"24.13.1","dependencies":{"file-type":"^21.3.0","is-stream":"^4.0.1","seek-bzip":"^2.0.0","unbzip2-stream":"^1.4.3","@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-tarbz2_9.0.0_1771955017901_0.15930428853553513","host":"s3://npm-registry-packages-npm-production"},"readme":"# @xhmikosr/decompress-tarbz2 [![npm version](https://img.shields.io/npm/v/@xhmikosr/decompress-tarbz2?logo=npm&logoColor=fff)](https://www.npmjs.com/package/@xhmikosr/decompress-tarbz2) [![CI Status](https://img.shields.io/github/actions/workflow/status/XhmikosR/decompress-tarbz2/ci.yml?branch=master&label=CI&logo=github)](https://github.com/XhmikosR/decompress-tarbz2/actions/workflows/ci.yml?query=branch%3Amaster)\n\n> tar.bz2 decompress plugin\n\n\n## Install\n\n```sh\nnpm install @xhmikosr/decompress-tarbz2\n```\n\n\n## Usage\n\n```js\nimport decompress from '@xhmikosr/decompress';\nimport decompressTarbz from '@xhmikosr/decompress-tarbz2';\n\ndecompress('unicorn.tar.gz', 'dist', {\n\tplugins: [\n\t\tdecompressTarbz()\n\t]\n}).then(() => {\n\tconsole.log('Files decompressed');\n});\n```\n\n\n## API\n\n### decompressTarbz()(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 to decompress.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","publish_time":1771955018048,"_cnpm_publish_time":1771955018048,"dist-tags":{"latest":"9.0.2"}}