{"_id":"@agen/zip","_rev":"6-bf4b4176bc3e7830ffcb0b13464ab83e","name":"@agen/zip","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"@agen/zip","version":"0.0.1","description":"Unzip with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-zip/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"main":"dist/agen-zip.js","unpkg":"dist/agen-zip.min.js","jsdelivr":"dist/agen-zip.min.js","module":"dist/agen-zip-esm.js","repository":{"type":"git","url":"https://github.com/agenjs/agen-zip.git"},"scripts":{"pretest":"rollup -c","test":"node -r esm ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"zip -j dist/agen-zip.zip -- LICENSE README.md dist/*.js"},"sideEffects":false,"devDependencies":{"@rollup/plugin-node-resolve":"^11.1.0","eslint":"7","esm":"^3","rollup":"2","rollup-plugin-terser":"7","tape":"5","tape-await":"0.1"},"publishConfig":{"access":"public"},"licenseText":"Copyright 2019-2021 Mikhail Kotelnikov\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author nor the names of contributors may be used to\n  endorse or promote products derived from this software without specific prior\n  written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"@agen/zip@0.0.1","dist":{"shasum":"c1f8c778adc242675ce3af9481c08602ffbd52f0","integrity":"sha512-K1Z7i7H7anoH3fhxGK7YPWgbruMMSpdA0eVTwCzDFb5JPqhrmHo/IXiVj3uQ1Gkrov9ZM8WeeESwJjX4CPTN9g==","tarball":"https://registry.npmjs.org/@agen/zip/-/zip-0.0.1.tgz","fileCount":17,"unpackedSize":80745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNMrqCRA9TVsSAnZWagAAq2sP/3nTdsqehYyac/RMUfZe\nhq+TtD4g1mDtL3y5XDjDu8By9O+twQt6XGZIJD9oSQdtf+H5C6k9OkR3OCtE\nQ8otigWbRAKbY9NoxHJj0l9NDYk1+QyvVeMVYZ7v5oyzqI1fluSPyLIAGKCW\nDrXf+j/XecO5bOjTCSpk3cSXdVm9khrG8mr//P5pOwxyFo3WMOp+cS1LGeuY\nVTl2VhgFHGq6v4PGemnuuQbiKScG2X7s5gDmvSll/b1rjveVawO1zUMwtbbm\nVbETdC5h/9vhiAojV7ZkVKAaO35boq+iDMKNCVRKuE4eLbD5j4HN4rQUPbJP\n8dM4i0Tu4OCDCs3A9cJwaOcOBE91OAU0GFp5cqLC0BC/5g912uJiEDdS02fM\nRlgxgx6lWTswbcDBuFCguZ6wRV2U4WpmkZ+V+MhfpAsUpmA13/+llJBlF0Ys\nJDyUxrxjXPSa+bnophltK8FfWwwj7NLZ6y5P+TZVDTzB68/6K09B+96DJeCK\nfaQXihV+xKozXG7PI9SQuv+TudWn6qhQ2JKTDyywo80YebU4yeJ/xrjJ/nYW\n+UgcJOLhSMu3KlDMqryOqBdCeRgGQBNMnY/iYiZSVOBaPfkN0r8C1DcfTI09\nW+ernB6aKGSkMoU1FhCW/gyohVSBJj9ATSa3cY3QHd3XWsZwQo6DfM2ULC/3\n7GS2\r\n=srFl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIA3x1GwqQB8tROrQlOvsSvNWEKTZKadci5itSlkab8EPAh8uQzFiRwjOXCQ173wmCky7cc7Tpoe7v8H3+z3axqgB"}]},"_npmUser":{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"},"directories":{},"maintainers":[{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zip_0.0.1_1614072554338_0.7176573698950826"},"_hasShrinkwrap":false},"0.0.2":{"name":"@agen/zip","version":"0.0.2","description":"Unzip with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-zip/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"main":"dist/agen-zip.js","unpkg":"dist/agen-zip.min.js","jsdelivr":"dist/agen-zip.min.js","module":"dist/agen-zip-esm.js","repository":{"type":"git","url":"https://github.com/agenjs/agen-zip.git"},"scripts":{"pretest":"rollup -c","test":"node -r esm ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"zip -j dist/agen-zip.zip -- LICENSE README.md dist/*.js"},"sideEffects":false,"devDependencies":{"@rollup/plugin-node-resolve":"^11.1.0","eslint":"7","esm":"^3","rollup":"2","rollup-plugin-terser":"7","tape":"5","tape-await":"0.1"},"publishConfig":{"access":"public"},"licenseText":"Copyright 2019-2021 Mikhail Kotelnikov\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author nor the names of contributors may be used to\n  endorse or promote products derived from this software without specific prior\n  written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"@agen/zip@0.0.2","dist":{"shasum":"94d5ebc6fc63b0af6aa5b4cd0b64215009a76584","integrity":"sha512-llCpeHG/GuoJaqSEG5rD0RHdPRDHWv23zTpGoHHKOkkcrNkaK4AFDNhh5P7MtFUeTlbpV/UlUMYOmjsFqc6ToA==","tarball":"https://registry.npmjs.org/@agen/zip/-/zip-0.0.2.tgz","fileCount":19,"unpackedSize":84876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNNRkCRA9TVsSAnZWagAAWXsQAI+6vokQDPo5FZkLX/b3\no8BKHmsoCrkN8FjX6A4buSemkk4HS70GJ2PZBh5UmFcgfWXqWJWIGSOtr0dK\n/UTqcK0fHNC7lgMtfKC8ua2qKAw45+9CfF43kk36LAxXXsRuCRNETKgcWYf6\ny6NuvED3SSge4Ok0c1o26ur3eMIt5rIo+e7jH+e21Tyw3lqOirbMW3PE/Iq3\n6purfBHQyRARrKCL9nxjVbHqoKAONqaxhJsSgIDP2BIQyneuVNi3pEhMQSqV\nxi5IPM7xaqzqrTYWFY0HzBDeYiCSg0zySumhH6ztQ/WiP/17fCf+2alNJynY\nFlLnkLCaa0v1LuOHSbmfN9TxE4cZ3VtuDfJ6UVu9rj4mufemvfw1v6WJYm5M\nGBhglYuDhW0Kpb7Rb1/CBbQj06xC15S2EeQjsv2cveFYeaXVmU4bGIk6xxh4\n5wKaretsr7Vhg1HZP9BNK9QzaTJrPCEJKAXDHGeeEEQLliNSwgzuCv5ckqOm\n+T/RpDyayowxvUpIPOe17MitU5KDv7g5Uk3pdp9ojmLi4wjGT+7E6MF0VrOD\nvs4Ao3tEZpA3NLYAEballKAaBrMKarIS8RenMCbsXwxdsOLOkXsYWwExHCjY\ntjZ0EGc8YvB03/K1li9/+reEns3Z44E7TcV0raPq81+kBGmQy5ipsU5hSLTw\nsHe/\r\n=o9ou\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCD8lHnlpewKxfy/t7kkxR3V8GNaXLRo4pZJqCCg6wvcwIgI24sHmXbb+Gxk94FEN+KqeWXyhUoRC092wr7g7gDrvY="}]},"_npmUser":{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"},"directories":{},"maintainers":[{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zip_0.0.2_1614074979528_0.41031522186565184"},"_hasShrinkwrap":false},"0.0.3":{"name":"@agen/zip","version":"0.0.3","description":"Unzip with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-zip/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"main":"dist/agen-zip.js","unpkg":"dist/agen-zip.min.js","jsdelivr":"dist/agen-zip.min.js","module":"dist/agen-zip-esm.js","repository":{"type":"git","url":"https://github.com/agenjs/agen-zip.git"},"scripts":{"pretest":"rollup -c","test":"node -r esm ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"zip -j dist/agen-zip.zip -- LICENSE README.md dist/*.js"},"sideEffects":false,"devDependencies":{"@rollup/plugin-node-resolve":"^11.1.0","eslint":"7","esm":"^3","rollup":"2","rollup-plugin-terser":"7","tape":"5","tape-await":"0.1"},"publishConfig":{"access":"public"},"licenseText":"Copyright 2019-2021 Mikhail Kotelnikov\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author nor the names of contributors may be used to\n  endorse or promote products derived from this software without specific prior\n  written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"@agen/zip@0.0.3","dist":{"shasum":"5cabaa25ef54c66a945cc9bd43c914def0bdaef7","integrity":"sha512-huiaZeuNoZqUXafAkUqFyG0OA1cmjlEbbK9o3SIfd1UwuQTJwB5tfTvIjL8TtfE4fyozjVggL3BTBPzetSBRmg==","tarball":"https://registry.npmjs.org/@agen/zip/-/zip-0.0.3.tgz","fileCount":19,"unpackedSize":84881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNNTaCRA9TVsSAnZWagAA2CsQAJhzr639V+3o6OXqeNR0\nhXn0Gecpq6qVlDCiIakKOJTrW+CJ+h2URvlw0uC1O9ASYdpBqGrozLrPs0lU\nDkFf8AsyZk7P7iWo0Lz2VnXwq/VhR2x+Q68aP3z6Zc8FO21S4UGUT/Gfiegt\ngahI0Md1ghsyvAQMuCCGz2zwWc/EDRsjyIVTqGfaa06xmo52NDpS7Jg2xo2u\nh061tS0dlTUr+/z+QKk5oPOOUkk7wRNyYLDES0IeBeaPchki/Lp5bYB7pcYX\nKEytUXjGHuw5RckPIXkZNSHR4zVBSHSFaow/zPI40rPoLLuQjh9aAnXfZjM+\nwTe/zRyGEFJs6H+Ox6WoLJwMpAnwSOJ7Qt/B3pm434lQx0nZL5WmXo+qONVX\ninVyHcfFk12YlB8lBRGVbMyfB7px8W0GaoXnsPHfJdilbdLIDCBfy+hKXJP1\ndzzIaKVGrEUMAYa3P5S5A5E/VjeYYr6kmdauFIR0mikrAYx0/vAQhWB9/X8m\nBTY3PH4ApxE+hNAz73zSrCSboll7F3A/YKkg4tQ5XGJi7Lp9MdE2HSvhSabD\nbv0tEgc1HtLdcFgVYXthqQ3RaRd3EeIADUb6zBrc5Q/Rc7idwJtomEWYz/At\nS5rZkNcxaOS0X0+ToprSyA2dhR/tDI19BtCWruYGF/Xftw6wiFofnoSV7aWL\nUo1o\r\n=G0DG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFuon09qxOhC3WB76S5oj6Nu5ax+7koqqXeMrqbeiWqwIhALitinCLDVTiKvSOjJ47v6Liwp9wpccQP5nTmk3MCfVq"}]},"_npmUser":{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"},"directories":{},"maintainers":[{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zip_0.0.3_1614075098298_0.10957751160106777"},"_hasShrinkwrap":false},"0.0.4":{"name":"@agen/zip","version":"0.0.4","description":"Unzip with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-zip/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"main":"dist/agen-zip.js","unpkg":"dist/agen-zip.min.js","jsdelivr":"dist/agen-zip.min.js","module":"dist/agen-zip-esm.js","exports":{"package.json":"./package.json","import":"./src/index.js","require":"./dist/agen-zip.js"},"repository":{"type":"git","url":"https://github.com/agenjs/agen-zip.git"},"scripts":{"pretest":"rollup -c","test":"node -r esm ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"zip -j dist/agen-zip.zip -- LICENSE README.md dist/*.js"},"sideEffects":false,"devDependencies":{"@rollup/plugin-node-resolve":"^11.1.0","eslint":"7","esm":"^3","rollup":"2","rollup-plugin-terser":"7","tape":"5","tape-await":"0.1"},"publishConfig":{"access":"public"},"licenseText":"Copyright 2019-2021 Mikhail Kotelnikov\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author nor the names of contributors may be used to\n  endorse or promote products derived from this software without specific prior\n  written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"@agen/zip@0.0.4","dist":{"shasum":"4c83cbd171de2ad1c3976110a40ceedc31012a10","integrity":"sha512-xGY29jCiafDtJa529B5nbJD1VgNgpzLENbJej/ngmXRDSq/cGtHyYYqIJQUBWGr3yCWnOOjYLvJANZe40Q16YA==","tarball":"https://registry.npmjs.org/@agen/zip/-/zip-0.0.4.tgz","fileCount":19,"unpackedSize":85007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdC9ECRA9TVsSAnZWagAAZ9IP/38dHDRVCm3w43q+Yiw2\n3/1NWckkM9zKcyRfApPZkGMF+MrV+8ozP5UdEuWyx6T4iUfrgk8OFpHLTvF0\n7qnd9xtWIEsDoTAWT33tXJu+AuP+knmMP0g3auPZjVtwsCVobAX1zFSO5b1E\n7M0JFXWiC1+xLzDL/bFQcHZRtZWKtpyaV6ZxF+hBFZEZAK6gxNFz0mSRMmwB\nWN6u+e1IOsBeurNHzytm/KBipAaPxZ5EsRxpCZK80xEqY2qFTjLk94HmawpL\nNZCxHXfoVte0sjz8bRsHbDwd0+tNRx18rmJvrqvwl5JGjGFPaTXOk4dZ5Csk\nRrUuzemkZOLOVC7YkvNZUNfwYer4aNLxoaHaIganBcgWbXk3tRHEE0BFXw6Z\nl+EBDltvMBFfQ9x4AEGVnEBERQttnE0MUopKtqFuAigwbkjFeRnA2zMRR3EK\nkXl5JgVDUXCnhsp2QkUZGngWTLYLcJFCTcUNX/muQ5BVZBwoZCO+a+9PkwPL\nnbMVXxNjB7Ee4Yt+CCswnm4eXF+VkOQ7f5zMSvHaWlGD3cLrYaoaZHZNns29\nbGQ1yWFoNyglRHrVtSzTaZqta2vPlaVaxrtKyu504evDlsvuTfkc1cJKbk9v\n2U5sG0cA7yzgRyNpV2H3Lm1vPOREBJeqmaLhJ2fbTe1vDndINq5Y52xBdVtt\nPEel\r\n=Wmui\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWUTwzIFrESlj2ioOtfFeLvPkW051AVL6DIpsrC4l1jwIhANvX5BKnaLMubVJsDfP93X5JHgtQ03auIsw9Z9qH7vYF"}]},"_npmUser":{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"},"directories":{},"maintainers":[{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zip_0.0.4_1618227012199_0.9573967545639288"},"_hasShrinkwrap":false},"0.0.5":{"name":"@agen/zip","version":"0.0.5","description":"Unzip with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-zip/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"type":"module","main":"dist/agen-zip.js","unpkg":"dist/agen-zip.min.js","jsdelivr":"dist/agen-zip.min.js","module":"dist/agen-zip-esm.js","exports":{"package.json":"./package.json","import":"./src/index.js","require":"./dist/agen-zip.js"},"repository":{"type":"git","url":"https://github.com/agenjs/agen-zip.git"},"scripts":{"pretest":"rollup -c","test":"node -r esm ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"zip -j dist/agen-zip.zip -- LICENSE README.md dist/*.js"},"sideEffects":false,"devDependencies":{"@rollup/plugin-node-resolve":"^11.1.0","eslint":"7","esm":"^3","rollup":"2","rollup-plugin-terser":"7","tape":"5","tape-await":"0.1"},"publishConfig":{"access":"public"},"licenseText":"Copyright 2019-2021 Mikhail Kotelnikov\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author nor the names of contributors may be used to\n  endorse or promote products derived from this software without specific prior\n  written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"@agen/zip@0.0.5","dist":{"shasum":"a4e81f3b32677275373dbdb02e056daa97c9e247","integrity":"sha512-xnlBwvOYBPJSYDbmwc7kdDC/hW8vBLf0e0a3hvsYovuL/T1E2x3wNkZNH5lqISgHUyMadgSGxHHuKwt66oHtag==","tarball":"https://registry.npmjs.org/@agen/zip/-/zip-0.0.5.tgz","fileCount":19,"unpackedSize":85027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdDIUCRA9TVsSAnZWagAAUysQAIroCEGkZLq3lZ1AA7aO\n6UM2Pt2bb6fDnSY2crZc7R72E1lA7unnu3GZnV/npvM+aZXanEg3M5NbAFfI\nbQGfvp6g92rtH2FVuUayohsvsqzNATZSKfkhD/Xt8VQW3kpGWxBbSI+G4+xs\n+OZ/i5o42LDz2afascwXMEgbkV3/aOIqllH54tJ+8GZOHwF+LJU3Fxqp52a1\n+eVfHSDWnKVTqtK+qq40Lb+8lQoNMamMlzOKIqG1oVwSlpmOFcI2MQDOTJjT\n7sgJN41pgopvEpqMFtZoO1JQeNoZe3XbJVsVcQbg5S0EUn1n09zyZZqju/aT\nnQWEDNEO1NpSzc4rWHZ+irlyIr3oaQFLjoHbnobdIo7dReneBKTOAlJKHMvu\n+qpfb+DVmw5wb/kf0XnIWxJ2qnYgJKiOok+Do9L8JVn2sJ1cr3bT5BqSIXVB\nSi/PvSzsPCec5Rn2wg9dl2qhKuMMWuJDaVJWWlwRiFRD2WecV1RpB8mG+2ti\nVzH/h6+btIAd1f3rLwtlGoV1Sql2+IJHUYRXMvTzjN2UtHMHBVfYG3qOejL2\nUWBeeGOfNP5EKA4WJDk6l81sz863+4IK2k0gXqHkwbN8IMJKQSiElo8aBEB5\n/U1tpkmZGGy1Vi/VQ6f2J7KPq08l+uiLS7/FtdJzyr+C19+abf6jsvl+d4y4\nWJ/I\r\n=FxXZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYPi/gZ+PmpD+x0PsuBprR2RRBr3YrpvGBS2u5abcOZwIhAIZf4jd8q1VnS5QtNKlXSHXQ/BQYLjGAysJJK0lc+VZN"}]},"_npmUser":{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"},"directories":{},"maintainers":[{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zip_0.0.5_1618227731682_0.9476849069833704"},"_hasShrinkwrap":false},"0.0.6":{"name":"@agen/zip","version":"0.0.6","description":"Unzip with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-zip/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"type":"module","main":"src/index.js","module":"dist/esm/agen-zip-esm.js","jsdelivr":"dist/cjs/agen-zip.min.js","unpkg":"dist/cjs/agen-zip.min.js","exports":{"package.json":"./package.json","umd":"./dist/cjs/agen-zip.min.js","require":"./dist/cjs/agen-zip.js","default":"./src/index.js"},"repository":{"type":"git","url":"https://github.com/agenjs/agen-zip.git"},"scripts":{"pretest":"rollup -c","test":"node ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"zip -j dist/agen-zip.zip -- LICENSE README.md dist/*.js"},"sideEffects":false,"devDependencies":{"@rollup/plugin-node-resolve":"13.0.0","eslint":"7","rollup":"2","rollup-plugin-generate-package-json":"3","rollup-plugin-terser":"7","tape":"4","tape-await":"0.1"},"publishConfig":{"access":"public"},"licenseText":"Copyright 2019-2021 Mikhail Kotelnikov\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author nor the names of contributors may be used to\n  endorse or promote products derived from this software without specific prior\n  written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"@agen/zip@0.0.6","dist":{"shasum":"3f54eada0710e7f3decdee76e374dd7acf1653b5","integrity":"sha512-un12WESxNyD764zUW3S/afG0FpNxvdvRL+z6Qe82/nzBF3fvuNijUr4bGu0VSMr7QK63Vqml7dGW3mv3TP1wqg==","tarball":"https://registry.npmjs.org/@agen/zip/-/zip-0.0.6.tgz","fileCount":22,"unpackedSize":85157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgw0LcCRA9TVsSAnZWagAASDMP/ikN7CiGlRTnSNmlM5ZK\nRlAqJw9i2nIHDebh7j7tAR8fiuClQ5U+isAbGAA6s8JgPcqOkI/0Su3k4/Tw\nap5mcUWq9QErtbh8byzm71mil+D7kwEvFHyY4djqwsjGm3vgAq7TgzSjNfA2\nODgFYNkmGmidc0FIYKNZJwZMYJjmxZYfbtA0o7JlkS0DjiQbShODb/bpH2J6\niYFSljKkjwYGYflTamt1mDYMISNf5wXzTLn+uxWTngg+meSF0/Th7tUT7UBr\nf3OYtp0CkZRH+2pJpmG5p+6VwtYYt/O7N1xfSsESx4PyqteOS0pnlUGVWiGz\nO/x3rifjibY87VYJKosU+GDp7tJleKXiXxj7e/yprQFdJ6omwnm/Cdac5l0J\nEK/bxsd3xqmKdSfm09wSFBTk0uvLFI+US1GOoLlRmt9ctkMvCNot9WV/R53P\nTjmZZ832OybI6R5+9vv7Ap9K2hqV0nQGTHniKw1v9kSEOSgOH7ZuMyQ9wdA6\nYReLqhYbOvo5MPNAjpjkBHOnq+v6a6G6h0xRf6pfGF9tgF7xyaiAs+IEzCye\noM0tYNOXERDlxEaSxMPUYwOV/PvgwMfdLxUOZzNeE6lwaMJLmsHi7oeNRcei\nad88GPIk2IGjc9QrCLM8X1fK0eu8Mvb5UVVL5HtHtssNBouYdWVTf55gxFe4\ns7Rz\r\n=6Jum\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPFkh/PleFUHXfeHPJRd2Tp6XHS8dX67SlL8VCE/rhTgIhAPC8W4Cqn9UYOpc43XUoyxWnT8X3q1cjx/xbEB842ckq"}]},"_npmUser":{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"},"directories":{},"maintainers":[{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zip_0.0.6_1623409372128_0.2013202626485615"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-23T09:29:14.145Z","0.0.1":"2021-02-23T09:29:14.484Z","modified":"2022-04-04T11:55:19.159Z","0.0.2":"2021-02-23T10:09:39.743Z","0.0.3":"2021-02-23T10:11:38.535Z","0.0.4":"2021-04-12T11:30:12.315Z","0.0.5":"2021-04-12T11:42:11.783Z","0.0.6":"2021-06-11T11:02:52.357Z"},"maintainers":[{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"}],"description":"Unzip with Async Iterators","homepage":"https://github.com/agenjs/agen-zip/","keywords":["async","generators"],"repository":{"type":"git","url":"https://github.com/agenjs/agen-zip.git"},"author":{"name":"Mikhail Kotelnikov"},"license":"BSD-3-Clause","readme":"@agen/zip\n===========\n\nThis package contains a AsyncIterator-based unzip utility methods. The main method - `unzip` - provides\nan asynchronous iterator over file entries stored in the archive. \nThe structure of returned file instances:\n* `async* content()` - return an async iterator over byte content of the file; note that this method \n  *do not* uncomress the data; use the `@agen/gzip` to inflate bytes.\n* `path` - path to the file; for directories it contains the trailing `/` symbol.\n* `size` - the total (uncompressed) size of the file\n* `compressedSize` - size of the compressed entry in the archive\n* `type` - a MIME type of the entry\n* `modified` the data of the file modification\n* `compressed` boolean flag defining if the content of the file is compresed or not\n\n**Note**: This module *does not* provide inflating utilities for compressed files.\nTo uncompress the content the `@agen/gzip` library should be used in the `raw` mode. \n\nThe code of this library is based on a rewamped implementation of the [yauzl](https://github.com/thejoshwolfe/yauzl) package (MIT License). To properly read Zip archives this code uses random access readers providing the following methods and fields:\n* `async* readRange(from, to)` - provides an async iterator over the specified range of bytes\n* `async read(start, end)` - provides a (ArrayBuffer) with data from the specified byte range \n* `length` the total length of the zipped content\n\nInternally all values are loaded from byte arrays (like Uint8Array).\n\nThis library has no external dependencies and can be used in the browser, in Deno or in Node environmets.\n\n`unzip` method\n--------------\n\nThis method returns an AsyncIterator over files in the specified archive.\n\nParameters:\n* `reader` - reader instance with the following fields:\n  * `async* readRange(from, to)` - provides an async iterator over the specified range of bytes\n  * `async read(start, end)` - provides a (ArrayBuffer) with data from the specified byte range \n  * `length` the total length of the zipped content\n\n\nReturns an AsyncGenerator over archived file entries.\n\nExample: \n```javascript\n\nimport fs from 'fs';\nimport { unzip, reader } from '@agen/zip';\nimport { inflate } from '@agen/gzip';\nimport { decode } from '@agen/encoding';\nimport { compose } from '@agen/utils';\n\nconst buf = fs.readFileSync('./MyArchive.zip');\nconst files = unzip(reader(buf)); // returns an Async Generator\n\n// Now we can decompress and read text content from files:\nfor await (let file of files()) {\n  console.log('>', file.path, file.size);\n\n  // Function transforming the content:\n  const f = compose(\n    // Step 1: Inflate compressed files\n    // IMPORTANT: use the 'raw' mode to inflate the content\n    file.compressed && inflate({ raw : true }), \n\n    // Step 2: Decode text files:\n    file.text.match(/\\.txt$/) && decode()\n  );\n\n  let it = f(file.content());\n  for let (let block of it) {\n    // Blocks are decompressed and decoded to UTF8 for text files:\n    console.log(block);\n  }\n}\n\n```\n","readmeFilename":"README.md"}