{"_id":"@anchovy_studios/extract-all-zip","_rev":"4-b5caabcb959f0eba083aa262ac169fce","name":"@anchovy_studios/extract-all-zip","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@anchovy_studios/extract-all-zip","version":"1.0.0","description":"Extract all zip files inside a folder","main":"app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/extract-all-zip.git"},"keywords":["extract","zip","unzip"],"author":{"name":"Joshua Lauwrich Nandy"},"license":"MIT","bugs":{"url":"https://github.com/Anchovy-Studios/extract-all-zip/issues"},"homepage":"https://github.com/Anchovy-Studios/extract-all-zip#readme","dependencies":{"extract-zip":"^2.0.0"},"_id":"@anchovy_studios/extract-all-zip@1.0.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-5K0h+ofNTg33zvJMDQRFMs1Rk2RM8Oa1QZjm3D0VPMt3Az/SWcjDbWaUYLGjq4hTYX6D8wV+wDE7UUX9ocMOWA==","shasum":"5f596e356ed638922aea5f0ce6ca82abd8904f5a","tarball":"https://registry.npmjs.org/@anchovy_studios/extract-all-zip/-/extract-all-zip-1.0.0.tgz","fileCount":5,"unpackedSize":5382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemSHwCRA9TVsSAnZWagAA0B4P/jGRs2DvPirymBSRdGQJ\nllpKyDh2LqTnmMFT7t4zg2DCMKlQ3H6OLvze5rg5I+Z6ElABB4GY/vWPKJ+U\nzURq6qr6FC+zca5hjLVdnDJB4kOKYv7X8cfR4NlBavtRKm0GX7kPtrbHw5B+\noEN/hAlYOQWVsthhKEnJdl5pIXGGEoxOLzHKZOZALK3jVBbDp0JK3U983DQ0\n+4xotlZXkYVmfldpKin+3R1ae1zfajgMwZbClUE4n6Bka8NpKuxtDGABxnIS\nUfERhhRmCzeMJbXwsGOjKYOlDzYO20bjkMoyVt0FhLyaA+vrN6IHnfoKYiSd\ndROLLb6CJGqrQAU1V/zHFgm9HEPM/XzMg4uQ9F/mwC/mSyHABDolA0Y/gvQL\n2memQ7H+F//5edZCsgOVWN93adtwXsq5n48GtXSFss979CpDXgf/AO2CLiRR\nMf/VvYtcC5louvX6F/95PfX0egG5KG1WUDOUflBvBUtePXMw5hFdi+wyAePi\nvtZifvNbxy8MtEzEohON7ovkDX3SoDFrnM72384Rf4e1feHdy+0HI8yTonVR\n9QV32m8Fz2x6OAVovXZheXeM51BVlpEET17Ne8RKJmQrca/La9+KzgsEWp5s\nhLmvoVhOFxcXLcPVao7DGH0EZ/bxklKy2Y7bRLaBqFAzWhZy0Rkt33KtSUgf\ne75k\r\n=erff\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFiGr8c2xQgslupOJDhTDtmwNUlIgZvDspoK3+Dd9vQnAiBtWRb7GDYlNjN/AK42aMISIVXDa9FVMyYBk06wC35ZyQ=="}]},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"_npmUser":{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extract-all-zip_1.0.0_1587093999692_0.8306091349282827"},"_hasShrinkwrap":false},"1.1.0":{"name":"@anchovy_studios/extract-all-zip","version":"1.1.0","description":"Extract all zip files inside a folder","main":"app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/extract-all-zip.git"},"keywords":["extract","zip","unzip"],"author":{"name":"Joshua Lauwrich Nandy"},"license":"MIT","bugs":{"url":"https://github.com/Anchovy-Studios/extract-all-zip/issues"},"homepage":"https://github.com/Anchovy-Studios/extract-all-zip#readme","dependencies":{"extract-zip":"^2.0.0"},"gitHead":"ac63e42eac0defc2389cec98571907e5cf6ad2f9","_id":"@anchovy_studios/extract-all-zip@1.1.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-mNKsK5mh5MSV1On1Lcdpy03o/4B9iEpCVHO5ecjPsse0OdJql1Rjf+HrzutYkX6MZUB97/OlyEsE6nePKTMfyA==","shasum":"3b8b302be26930251ffdba0c2472f21bf7325c42","tarball":"https://registry.npmjs.org/@anchovy_studios/extract-all-zip/-/extract-all-zip-1.1.0.tgz","fileCount":5,"unpackedSize":5473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemSLuCRA9TVsSAnZWagAAxTIP/1KIL3TQh29BMwFXrinZ\nnLVhzoL9lVnJhd2vqVd/Grptp+h1wq/hq3K9dAmVS1x4QgFeHpp/hh1qYS1O\nkK1jknBkBavAwPfcP/CaKK7PeHtPHW9z64RpBadeZrh1Z82hO1Koi/Q1MxMk\nWd2WJZMk76OXREiOOCKZXyLReLzng2bZu4guWaZqKpHoiZRa1rbDseAnvt4X\nPL++Jv99E1gaoy5Npm9lpUKPpOPk7B56aiIx/H/jKp/T8SnaPzAdV6vrA27P\n0cKPv9qgkCxB4v8/J0TpYXbWXd79y9eEcoXNeKNga67EuPNIsnvZNx6rfSz7\nx/+IubmIzkT5NaR6CWM5DypIsSs3gsnazuHk9flwlC2BwhaBehUTSXn+jEDi\neNGUwTaY9vkahHmdl3KAfR54lUuNgdwDYIpUagBJLgkVdMBWcUbTNmGrx75o\ngg35omkXFtktK3WOAz3CAeJxigz6mlF8rgEY0FPSnkABuo/wJURjXA1IQLX7\nnCrsoRYC7Rt+6GLnFb9pyiedQ3a5xtUGzav83d4bM8QbJZSumodEhfrNEd91\n0rU4vwwbreTu/nLD7C2qg/rNg+HPYc/6t7oCowiQVEo5OGB99sAiJYqm/EuJ\nTxtyyYzcSfhy6mgJdgymgOSKMJ3S45IGro9OuJ36rSGk6uGQFCv9WbpiZpEM\nFOCO\r\n=bFf5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBFsTi4dW9TVjA8RLP3Iz8GByKdhmGgJeglml6c8ZK4WAiAVo9ghaffK3mck94ElITmbAYbW29mn4oV3uwc4d7k+pQ=="}]},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"_npmUser":{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extract-all-zip_1.1.0_1587094253535_0.5531184743693409"},"_hasShrinkwrap":false},"1.2.0":{"name":"@anchovy_studios/extract-all-zip","version":"1.2.0","description":"Extract all zip files inside a folder","main":"app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/extract-all-zip.git"},"keywords":["extract","zip","unzip"],"author":{"name":"Joshua Lauwrich Nandy"},"license":"MIT","bugs":{"url":"https://github.com/Anchovy-Studios/extract-all-zip/issues"},"homepage":"https://github.com/Anchovy-Studios/extract-all-zip#readme","dependencies":{"extract-zip":"^2.0.0"},"gitHead":"03296df8aaad7e6b76782ca275fe1d1492b89acf","_id":"@anchovy_studios/extract-all-zip@1.2.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-bVlgZPfbq53Cr9NopOdf0PWXvcsYSUJgwvgOFEUeWuvl9Z87xt1VdZoPK2dEpgK6OKeVAZz/qrTPANJdXW0e7Q==","shasum":"5d301da2fb863e2d38cb9ce04fea1c85aaa6f4b7","tarball":"https://registry.npmjs.org/@anchovy_studios/extract-all-zip/-/extract-all-zip-1.2.0.tgz","fileCount":5,"unpackedSize":5550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemSpwCRA9TVsSAnZWagAA9bkQAJBGVvjvF3By9RP+dOfm\nCr/ssetMXuE5FJZjhIDmwBGmQjxbs+IjG2NC/GwSqTArMlG62GmyRCc04Bul\n7bKSj+QHLfSvkAZz9plwRvRHLudHcMHf3oa94AyYZdAXw05+F2FvfqsWrjhe\nUrzGG6UyjSOmE3Ye7ed5VIn5n1Vrko0rZRor24rPauU3/8eLHQDmLAMGLu0S\n9uFIlbJDOo5EPaf7mTIC64hda7b72b8hz9Z2kNeohLxSvw9r5TB/TQbGOR4i\nmdTtd+TA8lxPAyT7IVdxc3Lz0U5+01l3GT3mJr6GUt1a4f0eWih/6TtXsGU9\n6MVQ9NFFXYfndEf86La7el5v6jYfKGhR0bDqsvCfF/Lv+a7ZBPdBs9yfxLjJ\nS5N3smIK0Hac3pPFvN4TJMziNh6YJJmhaflcv6Yih/3A4SGjqvjSIApORuEI\ne2K9JjSoZ1/c2vI7o52ygwh5RtG7+9YNMl+UDUrLNh97GajWgnRWBnkGjjKr\nu8THCVj3iN8GwCjjtwXTy7TCF3YpbcRm57OEeAz+RlTvRX4RwtGEXJZsOUxp\nb+fEkLhHFRLMOtZ0tMFXaG5XCC30PH8Y8g0EWIdYle9hlbM4T1qfiqvoDSir\n3UcwJv9EJY/OsY2YvR6NXpAbwXE9RoVxbr4tCA9toXOTmdbg9jD8HaWqJF4C\nk/4I\r\n=LWUS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCr1coB0lQHs7BpOc5oJECOT8m3PSHmRZ5nc/Zk8EX+9wIgdROhWpS2GrXqV85nyWbwcZ4B6hwI540vbbFphBuVOpQ="}]},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"_npmUser":{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extract-all-zip_1.2.0_1587096175598_0.9185026490027488"},"_hasShrinkwrap":false},"2.0.0":{"name":"@anchovy_studios/extract-all-zip","version":"2.0.0","description":"Extract all zip files inside a folder","main":"app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/extract-all-zip.git"},"keywords":["extract","zip","unzip"],"author":{"name":"Joshua Lauwrich Nandy"},"license":"MIT","bugs":{"url":"https://github.com/Anchovy-Studios/extract-all-zip/issues"},"homepage":"https://github.com/Anchovy-Studios/extract-all-zip#readme","dependencies":{"extract-zip":"^2.0.0"},"gitHead":"82f64b0fc74ca42ae27abed4450cf57f6a55947b","_id":"@anchovy_studios/extract-all-zip@2.0.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-wd7Xq8fSO6gkCwBJoSs0L8NexdvgAAawGyGPaC6biqKc5fYq5r/YczEKXoXf6y6wIrXI1OTHL1fVNGDshzmx8Q==","shasum":"e320f7772a40c36ec32080d008db4d88bf5519da","tarball":"https://registry.npmjs.org/@anchovy_studios/extract-all-zip/-/extract-all-zip-2.0.0.tgz","fileCount":5,"unpackedSize":5950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemU+CCRA9TVsSAnZWagAAJ2gP/jA4+PlrfhUUCg0HhIVO\n1mcByn73kfXaSNsrtprCdG3Bk1OFSBPutJIoxF6sFmjcsJ3yGoYtZhnnMfUm\n8MDEpKHL4vSCNh9UBNZE86+acVKD2mF3T4D16LthuXLO9UYTSs2LHvmkTmEe\nFPaxBkTQ448a0f+0OhHrtLJQkg2hcyRr/Mv9Z68d39HNxQ/IhYuuQIusCpsn\nfWw00AXjn7bIjq4kW1aTPG4HLqE50h6Hv5y0xazZr6fC/ulzr+Z/iTrkBMLa\npYjB5RsSCHTC6FXKdIga+9atIrdH4+Sr5xt2y+5/GxXlRVPO0SMFTkbsJj95\nH/JS4ZgpowYSQO3k4gFC6d+axQ1ZSWIbPOJMc9EYJJY//J1wFAvB1V4HP//P\nYHLfZtfkqsxUbXJew8msGh7ePp7UiwjpFfosOXj3DpPd+zkWorlrIxa7zcvh\nED61/BV2jjFucfOvC26sOoPFHsVldU7qi7NdmL/TTcbjjjoPOL2daDQ5K9ns\naz/TCrvCZkW7aDkH9I+ri1SzfxYW6yE3UYsevzvHKg+NwJUvmFu66NKvkY5f\n/hCm9B33LTA5OGQ8AawESWLj5c3DcbM9NIfvb1eaZC0yeGc828L1NAEoV5UR\nGoRCH2Fpwdb4UH5mh/BMnMf34WUuX4ZkXpR5LDqZ7f3BXqUM+7OhNKcbmKeg\naMCJ\r\n=/W4R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAwq/6U33Z2YBIjp2Cjvomvlm7BAiOLehW+EitASCFYwIhAJMQy/fEt5+GFJuUHGRcVG1ruL6TROf49Nqfi9xtiT3q"}]},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"_npmUser":{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extract-all-zip_2.0.0_1587105666156_0.23759914382262992"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-17T03:26:39.433Z","1.0.0":"2020-04-17T03:26:39.859Z","modified":"2022-04-04T13:57:10.178Z","1.1.0":"2020-04-17T03:30:53.795Z","1.2.0":"2020-04-17T04:02:55.769Z","2.0.0":"2020-04-17T06:41:06.316Z"},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"description":"Extract all zip files inside a folder","homepage":"https://github.com/Anchovy-Studios/extract-all-zip#readme","keywords":["extract","zip","unzip"],"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/extract-all-zip.git"},"author":{"name":"Joshua Lauwrich Nandy"},"bugs":{"url":"https://github.com/Anchovy-Studios/extract-all-zip/issues"},"license":"MIT","readme":"# extract-all-zip\r\n\r\n![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/extract-zip) ![npm](https://img.shields.io/npm/v/@anchovy_studios/extract-all-zip) ![npm bundle size](https://img.shields.io/bundlephobia/min/@anchovy_studios/extract-all-zip) ![GitHub issues](https://img.shields.io/github/issues/anchovy-studios/extract-all-zip) ![NPM](https://img.shields.io/npm/l/@anchovy_studios/extract-all-zip)\r\n\r\nExtract all zip within a directory recursively.\r\n\r\n## Requirement\r\n\r\n[Node.js](https://nodejs.org/en/) 10.0.0 or higher\r\n\r\n## Installation\r\n\r\nInstallation is done using the npm install command:\r\n```bash\r\n$ npm install @anchovy_studios/extract-all-zip\r\n```\r\n\r\n## Quick Start\r\n\r\n```javascript\r\nconst { extract } = require('extract-all-zip')\r\n\r\nconst path = 'path.to.your.folder'\r\ntry {\r\n    const files = extract(path)\r\n    console.log(files)\r\n} catch (err) {\r\n    console.error(err)\r\n}\r\n```\r\n\r\n## Documentation\r\n\r\n### Exception\r\nThe `extract` function will throw `ExtractException` object if there is an error during extraction or the path to the folder is invalid.\r\n\r\nTo get the exception message you can access its attribute:\r\n```javascript\r\ntry {\r\n    ...\r\n} catch (err) {\r\n    console.error(err.message)\r\n}\r\n```\r\n\r\nTo get the native exception object or library dependency exception you can access its attribute:\r\n```javascript\r\ntry {\r\n    ...\r\n} catch (err) {\r\n    console.error(err.errObj)\r\n}\r\n```\r\n\r\n### Return\r\nThe `extract` function will return a list of string which is the path of the zip file upon successfull extraction.\r\n\r\n```bash\r\n[\r\n  'path.to.file-one.zip',\r\n  'path.to.file-two.zip',\r\n  'path.to.file-three.zip'\r\n  ...\r\n]\r\n```\r\n\r\n## Dependency\r\n\r\n- [extract-zip](https://www.npmjs.com/package/extract-zip)\r\n\r\n## Change History\r\n[CHANGELOG](CHANGELOG)\r\n\r\n## License\r\n\r\n[MIT](LICENSE)","readmeFilename":"README.md"}