{"name":"@xhmikosr/decompress-tarbz2","version":"6.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":"^6.0.1","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":"13e2fa566914c3dcd49ad635b27e92a55bc53c8e","bugs":{"url":"https://github.com/XhmikosR/decompress-tarbz2/issues"},"homepage":"https://github.com/XhmikosR/decompress-tarbz2#readme","_id":"@xhmikosr/decompress-tarbz2@6.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Y8BuayMiDX3nHKIXKRhcDBoc5OWfYbemdjDv8zX1w4x+mIjg7S0+QnfVm1fQXnNEwPaViLMFKZ4c6/2k43xe4A==","shasum":"0baf173e63c5514752499d535df50406146a6e1c","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tarbz2/download/@xhmikosr/decompress-tarbz2-6.0.0.tgz","fileCount":4,"unpackedSize":3687,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHYyjc3CA10Pi+KzvLQ8GjnC6GJDR/f+KyU4m1e7rJHAiEAurggLKXqJrZNvu5f6aT4IBaZj7y/Y94CWW7SPFPgqJw="}],"size":1896,"noattachment":false,"key":"/@xhmikosr/decompress-tarbz2/-/@xhmikosr/decompress-tarbz2-6.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_6.0.0_1685979322609_0.12900182907970392"},"_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":1685979322792,"_cnpm_publish_time":1685979322792,"dist-tags":{"latest":"9.0.2"}}