{"name":"@xhmikosr/decompress-tarbz2","version":"5.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":"^5.0.0","file-type":"^12.4.2","is-stream":"^3.0.0","seek-bzip":"^1.0.6","unbzip2-stream":"^1.4.3"},"devDependencies":{"ava":"^5.3.0","is-jpg":"^3.0.0","xo":"^0.54.2"},"gitHead":"ee4e238a823b79c471c3212f6354ffda1cb973bc","bugs":{"url":"https://github.com/XhmikosR/decompress-tarbz2/issues"},"homepage":"https://github.com/XhmikosR/decompress-tarbz2#readme","_id":"@xhmikosr/decompress-tarbz2@5.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Zc4VrgXk9u8DMJPEGnECtS9sq0zdgmgrKDuZeEYUR1LPE/bv7L4uau/CHrM+3kyB37x1FgmNk8VyI5epMroWWw==","shasum":"3c73cc459767e1b6191f26931b1bbaa930e609f0","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tarbz2/download/@xhmikosr/decompress-tarbz2-5.0.0.tgz","fileCount":4,"unpackedSize":3686,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIPbz2sXlTyQIjX0R1hlnO6Vq/5JNDp3NHnxz/VHvkLQIgBCCo6SK3huVt8lTcnwKo7K+AFiFT6EkFZx+FeYIKgLY="}],"size":1897,"noattachment":false,"key":"/@xhmikosr/decompress-tarbz2/-/@xhmikosr/decompress-tarbz2-5.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_5.0.0_1685560931274_0.9434736666653356"},"_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":1685560931429,"_cnpm_publish_time":1685560931429,"dist-tags":{"latest":"9.0.2"}}