{"name":"@xhmikosr/decompress-tarbz2","version":"8.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":">=18"},"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":"^8.0.0","file-type":"^19.0.0","is-stream":"^4.0.1","seek-bzip":"^2.0.0","unbzip2-stream":"^1.4.3"},"devDependencies":{"ava":"^6.1.2","is-jpg":"^3.0.0","xo":"^0.58.0"},"xo":{"rules":{"unicorn/prevent-abbreviations":"off"}},"_id":"@xhmikosr/decompress-tarbz2@8.0.0","gitHead":"7ac01cfacfee03cac31019307646798040002993","bugs":{"url":"https://github.com/XhmikosR/decompress-tarbz2/issues"},"homepage":"https://github.com/XhmikosR/decompress-tarbz2#readme","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-7S1OIPj+WevZdQw0KU8bwwNhGb5mdmRbWGLnHSNB7GYdJ57vzmvfcWFRDqxKOHSTdjwijH1zJXmFmbOn5ILFDg==","shasum":"42caba896950c34b8c3843947bd4e0c6ee89c54b","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tarbz2/download/@xhmikosr/decompress-tarbz2-8.0.0.tgz","fileCount":4,"unpackedSize":3801,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGLYORqWz3FBUkoj9UPoR55b05WjEuhRIg6T54IeMB15AiEA9twQ/WssHlS3BWax5VjiOeyv+BxU3zYAsR/w5oW81GI="}],"size":1957,"noattachment":false,"key":"/@xhmikosr/decompress-tarbz2/-/@xhmikosr/decompress-tarbz2-8.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_8.0.0_1711952152841_0.5539400077885215"},"_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":1711952152984,"_cnpm_publish_time":1711952152984,"dist-tags":{"latest":"9.0.2"}}