{"name":"@xhmikosr/decompress-tarbz2","version":"9.0.2","description":"decompress tar.bz2 plugin","license":"MIT","repository":{"type":"git","url":"git+https://github.com/XhmikosR/decompress-tarbz2.git"},"publishConfig":{"access":"public"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=20"},"scripts":{"ava":"ava","lint":"xo","xo":"xo","fix":"xo --fix","test":"npm run ava"},"main":"index.js","type":"module","exports":{".":"./index.js"},"keywords":["bz2","decompress","decompressplugin","extract","tar","tar.bz2","tarbz2"],"dependencies":{"@xhmikosr/decompress-tar":"^9.0.1","file-type":"^21.3.4","is-stream":"^4.0.1","seek-bzip":"^2.0.0","unbzip2-stream":"^1.4.3"},"devDependencies":{"ava":"^7.0.0","xo":"^2.0.2"},"xo":{"rules":{"unicorn/prevent-abbreviations":"off"}},"gitHead":"b6e13f87eb0d40b5513fa071ebad9531c5e6c91c","_id":"@xhmikosr/decompress-tarbz2@9.0.2","bugs":{"url":"https://github.com/XhmikosR/decompress-tarbz2/issues"},"homepage":"https://github.com/XhmikosR/decompress-tarbz2#readme","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-m0DvZhE7remCxtS8xY2iHSjivT4v+iyYDdfNoeuu8Nm+7g8xEXdLKSyDEicu4u1ImJLLGEfjMuTLera/F6UGWw==","shasum":"e2aba9a25d3b7822d755c605880c9e1d0d461926","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tarbz2/download/@xhmikosr/decompress-tarbz2-9.0.2.tgz","fileCount":4,"unpackedSize":3976,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDAsSkBKYwtV2ye2ku2ul4UM+5LLYH55CJVgWgnoX+23gIhAL0ugVyVv3aY7EszYsQC3SxKCMtTa5iUUJZf2q1fOFcp"}],"size":2049,"noattachment":false,"key":"/@xhmikosr/decompress-tarbz2/-/@xhmikosr/decompress-tarbz2-9.0.2.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/decompress-tarbz2_9.0.2_1780467446002_0.04188679246258831"},"_hasShrinkwrap":false,"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":1780467446131,"_cnpm_publish_time":1780467446131,"dist-tags":{"latest":"9.0.2"}}