{"name":"@xhmikosr/decompress-tar","version":"5.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":"^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"],"dependencies":{"file-type":"^12.4.2","is-stream":"^3.0.0","tar-stream":"^2.2.0"},"devDependencies":{"ava":"^5.3.0","is-jpg":"^3.0.0","xo":"^0.54.2"},"gitHead":"26c6f8631fb6e483e85ae0f0e2b13f2308d43531","bugs":{"url":"https://github.com/XhmikosR/decompress-tar/issues"},"homepage":"https://github.com/XhmikosR/decompress-tar#readme","_id":"@xhmikosr/decompress-tar@5.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-l6essKp8HrjAmNfuczv6BINrhaq1SQMpjaf+1DUna2EEZMFt6yjEOK+tAut/ycxcndR3AQXhPRRgcHnTuYWsbg==","shasum":"05bc695de15a7c6ca5685116467d54953b1d2e60","tarball":"http://registry-npm.ywwl.com/@xhmikosr/decompress-tar/download/@xhmikosr/decompress-tar-5.0.0.tgz","fileCount":4,"unpackedSize":4262,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi7aI5khFmCQEPAN7ebpNqsCnFpurAP6pt7LJjNLyUrAiEAiSEPDyT+dcnlnCQ58ck3h5y6l8fl38mGeHSEMGVU244="}],"size":2135,"noattachment":false,"key":"/@xhmikosr/decompress-tar/-/@xhmikosr/decompress-tar-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-tar_5.0.0_1685560548365_0.5448307297072674"},"_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":1685560548550,"_cnpm_publish_time":1685560548550,"dist-tags":{"latest":"9.0.2"}}