{"name":"@xhmikosr/decompress-tarbz2","version":"7.0.0","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":"^14.14.0 || >=16.0.0"},"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":"^7.0.0","file-type":"^18.5.0","is-stream":"^3.0.0","seek-bzip":"^1.0.6","unbzip2-stream":"^1.4.3"},"devDependencies":{"ava":"^4.3.3","is-jpg":"^3.0.0","xo":"^0.54.2"},"gitHead":"77a7ac9d2b9ba7ed0d3e8739e5291c276a05d415","bugs":{"url":"https://github.com/XhmikosR/decompress-tarbz2/issues"},"homepage":"https://github.com/XhmikosR/decompress-tarbz2#readme","_id":"@xhmikosr/decompress-tarbz2@7.0.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-3QnjipYkRgh3Dee1MWDgKmANWxOQBVN4e1IwiGNe2fHYfMYTeSkVvWREt87UIoSucKUh3E95v8uGFttgTknZcA==","shasum":"eea242c59e7d52f9bccc91e1a51d4b34ed048792","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tarbz2/download/@xhmikosr/decompress-tarbz2-7.0.0.tgz","fileCount":4,"unpackedSize":3687,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJYQMvqjVwq6PpgyIRjc0L2gi4ICKrJTFLFuCOE2jyJgIgZBELK/BjXj5/Hxd9HQiWsD5j/J9mk3gjWa+TqBDxK/s="}],"size":1891,"noattachment":false,"key":"/@xhmikosr/decompress-tarbz2/-/@xhmikosr/decompress-tarbz2-7.0.0.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-tarbz2_7.0.0_1687415618106_0.7551891115833202"},"_hasShrinkwrap":false,"readme":"# decompress-tarbz2 [![CI](https://github.com/XhmikosR/decompress-tarbz2/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/XhmikosR/decompress-tarbz2/actions/workflows/ci.yml)\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":1687415618263,"_cnpm_publish_time":1687415618263,"dist-tags":{"latest":"9.0.2"}}