{"name":"@xhmikosr/decompress-targz","version":"8.0.1","description":"decompress tar.gz plugin","license":"MIT","repository":{"type":"git","url":"git+https://github.com/XhmikosR/decompress-targz.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.gz","targz"],"dependencies":{"@xhmikosr/decompress-tar":"^8.0.1","file-type":"^19.0.0","is-stream":"^2.0.1"},"devDependencies":{"ava":"^6.1.2","is-jpg":"^3.0.0","xo":"^0.58.0"},"xo":{"rules":{"unicorn/prevent-abbreviations":"off"}},"_id":"@xhmikosr/decompress-targz@8.0.1","gitHead":"40bc36c16016822cd7ab4634e531e6011a37c9ee","bugs":{"url":"https://github.com/XhmikosR/decompress-targz/issues"},"homepage":"https://github.com/XhmikosR/decompress-targz#readme","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-mvy5AIDIZjQ2IagMI/wvauEiSNHhu/g65qpdM4EVoYHUJBAmkQWqcPJa8Xzi1aKVTmOA5xLJeDk7dqSjlHq8Mg==","shasum":"54dbd48e83861db43857970c2fcdbd431371e95b","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-targz/download/@xhmikosr/decompress-targz-8.0.1.tgz","fileCount":4,"unpackedSize":3708,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCICajg1TGLAa525f9deTk8+2+27VlO7resnvCbFFvE3FjAh96uf1kGeclYcG93uXuYIo/HNgzNUWMEyawIEGOY0vs"}],"size":1944,"noattachment":false,"key":"/@xhmikosr/decompress-targz/-/@xhmikosr/decompress-targz-8.0.1.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-targz_8.0.1_1712040745959_0.8570129984560813"},"_hasShrinkwrap":false,"readme":"# decompress-targz [![CI](https://github.com/XhmikosR/decompress-targz/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/XhmikosR/decompress-targz/actions/workflows/ci.yml)\n\n> tar.gz decompress plugin\n\n\n## Install\n\n```sh\nnpm install @xhmikosr/decompress-targz\n```\n\n\n## Usage\n\n```js\nimport decompress from '@xhmikosr/decompress';\nimport decompressTargz from '@xhmikosr/decompress-targz';\n\ndecompress('unicorn.tar.gz', 'dist', {\n\tplugins: [\n\t\tdecompressTargz()\n\t]\n}).then(() => {\n\tconsole.log('Files decompressed');\n});\n```\n\n\n## API\n\n### decompressTargz()(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":1712040746109,"_cnpm_publish_time":1712040746109,"dist-tags":{"latest":"9.0.1"}}