{"name":"@xhmikosr/decompress-tarbz2","version":"8.0.2","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@8.0.2","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":"1c19b4a59585321a7c64ab0ff1f85f92b66fca1a","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tarbz2/download/@xhmikosr/decompress-tarbz2-8.0.2.tgz","fileCount":4,"integrity":"sha512-p5A2r/AVynTQSsF34Pig6olt9CvRj6J5ikIhzUd3b57pUXyFDGtmBstcw+xXza0QFUh93zJsmY3zGeNDlR2AQQ==","signatures":[{"sig":"MEUCIQCenbd6rSI/1Pv4hd8RQUInA3GXaY0G3NuGVM+otLDmXAIgYvkVnyYjRcDCbJr1317Znbg4i/GALNCSJCMZg+o2dPk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3799,"size":1950,"noattachment":false,"key":"/@xhmikosr/decompress-tarbz2/-/@xhmikosr/decompress-tarbz2-8.0.2.tgz"},"main":"index.js","type":"module","engines":{"node":">=18"},"exports":{".":"./index.js"},"gitHead":"8f42d67bfab5e474e8da120df32eb702c9ee5c5f","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":"10.8.2","description":"decompress tar.bz2 plugin","directories":{},"_nodeVersion":"20.18.1","dependencies":{"file-type":"^19.6.0","is-stream":"^2.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":"^0.60.0","ava":"^6.2.0","is-jpg":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/decompress-tarbz2_8.0.2_1736709567558_0.5037643591247454","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":1736709567717,"_cnpm_publish_time":1736709567717,"dist-tags":{"latest":"9.0.2"}}