{"name":"@xhmikosr/decompress-tar","version":"8.0.0","description":"decompress tar plugin","license":"MIT","repository":{"type":"git","url":"git+https://github.com/XhmikosR/decompress-tar.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":["decompress","decompressplugin","extract","tar"],"dependencies":{"file-type":"^19.0.0","is-stream":"^4.0.1","tar-stream":"^3.1.7"},"devDependencies":{"ava":"^6.1.2","is-jpg":"^3.0.0","xo":"^0.58.0"},"xo":{"rules":{"unicorn/prevent-abbreviations":"off"}},"_id":"@xhmikosr/decompress-tar@8.0.0","gitHead":"22354c9d558aaacccf633ffa571e681ea1b2bc11","bugs":{"url":"https://github.com/XhmikosR/decompress-tar/issues"},"homepage":"https://github.com/XhmikosR/decompress-tar#readme","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-PsF7CqD4iTO67jvz8Qyy6XfEUSrlzdt4OBugPksikzquEIMknRXXXRhcBHOPRWfES4iEwX8MVHqDuxuBIgEivQ==","shasum":"9b6b384fcf188fe3b75d723f9fd01a36f5521344","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tar/download/@xhmikosr/decompress-tar-8.0.0.tgz","fileCount":4,"unpackedSize":4371,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYm8uxxtVWpmsEnk37eTJAXcmSdMrsVXb0o7QhI/ClswIhAOI4qLCxacGijsEpoPAJ61xnJCPyPATO4nZfFYvokEKz"}],"size":2203,"noattachment":false,"key":"/@xhmikosr/decompress-tar/-/@xhmikosr/decompress-tar-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-tar_8.0.0_1711952083141_0.05580119222783009"},"_hasShrinkwrap":false,"readme":"# decompress-tar [![CI](https://github.com/XhmikosR/decompress-tar/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/XhmikosR/decompress-tar/actions/workflows/ci.yml)\n\n> tar decompress plugin\n\n\n## Install\n\n```sh\nnpm install @xhmikosr/decompress-tar\n```\n\n\n## Usage\n\n```js\nimport decompress from '@xhmikosr/decompress';\nimport decompressTar from '@xhmikosr/decompress-tar';\n\ndecompress('unicorn.tar', 'dist', {\n\tplugins: [\n\t\tdecompressTar()\n\t]\n}).then(() => {\n\tconsole.log('Files decompressed');\n});\n```\n\n\n## API\n\n### decompressTar()(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 or stream to decompress.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","publish_time":1711952083284,"_cnpm_publish_time":1711952083284,"dist-tags":{"latest":"9.0.2"}}