{"name":"@xhmikosr/decompress-targz","version":"5.0.0","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":"^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":["decompress","decompressplugin","extract","tar.gz","targz"],"dependencies":{"@xhmikosr/decompress-tar":"^5.0.0","file-type":"^12.4.2","is-stream":"^3.0.0"},"devDependencies":{"ava":"^5.3.0","is-jpg":"^3.0.0","xo":"^0.54.2"},"gitHead":"9c98b8a79135f359cb1fff876208448a344d94ff","bugs":{"url":"https://github.com/XhmikosR/decompress-targz/issues"},"homepage":"https://github.com/XhmikosR/decompress-targz#readme","_id":"@xhmikosr/decompress-targz@5.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-iSE8xp2t6IPup6gIdjVv1Zg07xSYxWdP6AAOgotEvn8f/sZPk6saKcsPEedR3aEi8sNkOjhq0hpJrA6Hq0zIBg==","shasum":"d34f414015f4bf21614d23a0c19ca2b7e94885e4","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-targz/download/@xhmikosr/decompress-targz-5.0.0.tgz","fileCount":4,"unpackedSize":3597,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL5UQ3gdf0eA3EvQXeSBKGd6oQDPUzjSFM9Lz4Mi0O0wIgYQksyPbAHFIuEBAPa26fqOnY5hqmJ9xdO/2HEpX5kHI="}],"size":1890,"noattachment":false,"key":"/@xhmikosr/decompress-targz/-/@xhmikosr/decompress-targz-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-targz_5.0.0_1685561249616_0.4990993679259761"},"_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":1685561249794,"_cnpm_publish_time":1685561249794,"dist-tags":{"latest":"9.0.1"}}