{"_id":"@agen/untar","_rev":"3-953a4cbb39e94951481001b25badcc40","name":"@agen/untar","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@agen/untar","version":"0.1.0","description":"Ununtar with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-untar/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"type":"module","main":"src/index.js","module":"dist/esm/agen-untar-esm.js","jsdelivr":"dist/cjs/agen-untar.min.js","unpkg":"dist/cjs/agen-untar.min.js","exports":{"package.json":"./package.json","umd":"./dist/cjs/agen-untar.min.js","require":"./dist/cjs/agen-untar.js","default":"./src/index.js"},"repository":{"type":"git","url":"https://github.com/agenjs/agen-untar.git"},"scripts":{"pretest":"rollup -c","test":"node ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"untar -j dist/agen-untar.untar -- 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-2022 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/untar@0.1.0","dist":{"shasum":"26daee2d0d74dd20a6aec9c6a5a3f552c9374cd3","integrity":"sha512-jAHS15jZ7JJS/K0B87b16ImcHIBlfxeeGpBdMYbhQtafHCrejBzQkIe4BtM2bTeyD1wI2V7mTeiC7f63rw880Q==","tarball":"https://registry.npmjs.org/@agen/untar/-/untar-0.1.0.tgz","fileCount":17,"unpackedSize":33810,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBkiDeuiBebeSxjSOKuFiFV+WqHss6Mm+EI5byoP5rqjAiEAynHqGpR5QvoXnKHhMvYOk/WZmbPJ6lfO7BK7NMY69M0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV90nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6fBAAokxKSpJMfTSDtvCp2arBIN/wOLnNJCMmFsKerBx5TRQphSUk\r\nVIs/sVw1QtvJLxj2X+ebiC0+dlaUcaNUC7MIBBEyJSDZ9Vnd86BzQjpvO3A3\r\nOQv/d16+JVAG5gr21z/3TH69TDBwbEhhxwDXu/GOl/itRGwwLmxeQO21BHDZ\r\nc8arpln695xioAapBHH1KnW32JzcIHW3RoY1Eo9FjvxoNmWi3SJXjm0+dPmK\r\n1VvAz9n3YcGo9uMjJFV4qXSKOYy4hb+cQts4r0nqtLcgOkgFTPwK3+DvzxXA\r\nEKTHZXr2CWLO00MMx+4u3TjxY2+J26pzCWPqNoQJJNKxP6LD1Djr78y3fq7f\r\nHSRJc/dI1qD34PAQZA+QS7utA4T79NWK3uSMJWn7fSwZA9gOfrRzQkJPt+kT\r\nz9MurS1Hu2kLyfI74nLoIUUOYmuQPHpLTQXpTW84ZQxmatVEOFsHkRJ16zpD\r\nFvqKFYR3VpZfqwnTAVdgWi8dZ7AZ/7aGUU3BJGcCy6Bc9eaC47bwbGFPNv8q\r\nIS5dPGF86XJg+HQcB3WY8Dhx1D7eXWe5ME4yBSo1RoEYIZOAReN3BI2EoOD0\r\ncGuR17g5TiGfjLel91HtwXA6VZ1kM8qdD3usxTPtNObwXcGfY7tb4865+aD0\r\nQZFp09epOguQmF9NFWi91iqx4ZHwG3EnRKA=\r\n=dgRx\r\n-----END PGP SIGNATURE-----\r\n"},"_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/untar_0.1.0_1666702631405_0.7971673610125054"},"_hasShrinkwrap":false},"0.1.1":{"name":"@agen/untar","version":"0.1.1","description":"Ununtar with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-untar/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"type":"module","main":"src/index.js","module":"dist/esm/agen-untar-esm.js","jsdelivr":"dist/cjs/agen-untar.min.js","unpkg":"dist/cjs/agen-untar.min.js","exports":{"package.json":"./package.json","umd":"./dist/cjs/agen-untar.min.js","require":"./dist/cjs/agen-untar.js","default":"./src/index.js"},"repository":{"type":"git","url":"https://github.com/agenjs/agen-untar.git"},"scripts":{"pretest":"rollup -c","test":"node ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"untar -j dist/agen-untar.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-2022 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/untar@0.1.1","dist":{"shasum":"63cf56d116893853ed8ee13b8c05b7ad188b909d","integrity":"sha512-EJeS9fUPWA+BarnAd4IUh//0otVAgeuO5cLBP+ArdwQB4E1r+UYlsYMKutw6nTFt2AVS14V61GkkpPwS6ZzbrA==","tarball":"https://registry.npmjs.org/@agen/untar/-/untar-0.1.1.tgz","fileCount":17,"unpackedSize":33808,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICtCdBTjGdIqFbOUik573faNAIOTuRnwJ+jh7kxFsG0iAiBfgnqdcCyc+vuJ5DA+5j+lvvPDr1aV29BuRPdi9OHqvw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV92cACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoERw//ZNZDMWZX0CYPGXzR77EP7D1O0wsTky6tnN1rkU37TtqxOO+T\r\nykrte/pD/OuQkMatv/lT33yEMowP/zjjGdwXZhu0cPlqEhIqP22kKOnp/GZs\r\nuqm3IoFC0xps0xRPmWoN5BOC8628zu/eLPtpnoltIKRzBK6vH6v46NK1qfgw\r\nWInT1+aeuFuxAost6NkglpzHyw0rttHB6IVHhJP8lDHknK7xVXl8hvERfYph\r\nxm7w67nOWuj+Cawv5KZPUySQaZVTXxJFGUU3vZxoJzFJg+GyxlBFMXCVWO/g\r\nKdN10W85I/+aUafvuPgR4Ozjrj4GT85qptkl0TypC9VU0UwJh8FkjPUsm8Bg\r\nGg6xFrIxb0LeAvpKjQe7yPgpZKOosN8ZNBGJfBN/6G1Jpr5qgdN66hZCCMeN\r\nQ5DffLzuC7Y9hG+toLTsdKjk2RFhkFDUPI5ZyNZlMR+NDj5ABZD/p8kRN29S\r\n7ugseUw+ORolG/tI/Vo+9AFD9zFZK7rNHSomt1uowTO7Iezg2sYvRi44fhjx\r\nxPa0Dm7D7PTZ5X7yGL2zJek6sFmSJvnZ6q+mjNZtcPUN6Yq13ONJNZLliDOr\r\n6spcO832meafSF9paD9g43C6cvS0s9hmes7kyKuz3KBRwG0gjQT5AyMcEPWK\r\navm+wZSn+mkZj/dH3CJ+UHrpkqQcrAkqES8=\r\n=hkY2\r\n-----END PGP SIGNATURE-----\r\n"},"_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/untar_0.1.1_1666702748811_0.001457631364848"},"_hasShrinkwrap":false},"0.1.2":{"name":"@agen/untar","version":"0.1.2","description":"Ununtar with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-untar/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"type":"module","main":"src/index.js","module":"dist/esm/agen-untar-esm.js","jsdelivr":"dist/cjs/agen-untar.min.js","unpkg":"dist/cjs/agen-untar.min.js","exports":{"package.json":"./package.json","umd":"./dist/cjs/agen-untar.min.js","require":"./dist/cjs/agen-untar.js","default":"./src/index.js"},"repository":{"type":"git","url":"https://github.com/agenjs/agen-untar.git"},"scripts":{"pretest":"rollup -c","test":"node ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test"},"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-2022 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/untar@0.1.2","dist":{"shasum":"89979d7177e6d21939b849f13166095731fa16be","integrity":"sha512-u/PqpRLckUE683Rh0Z9hBCbmRcbDzz3iRQxt55rXOc3PpFWHqXsicio6Av/UI4lbq6NDyL8R997GPpq7V8HPSA==","tarball":"https://registry.npmjs.org/@agen/untar/-/untar-0.1.2.tgz","fileCount":17,"unpackedSize":33726,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSm2EDPpdYnix8ZF0NJamDzGhMFvE9tMK2or0sjr6mXwIhAKj6zlq+FtEnDv3GvjwIpiQPTuGpsLyNoU2D8fqECXrM"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV99IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqSw/+J97vL8srWj90APL1tg52hhdYMSWMSoJyOgHYd5KBul+ZclKR\r\nKox2b9ERAu5wGnAUXxHZsSJhdaIQ6dwFA7C9v+/fVe1ar3VzsYKZA1IazPd6\r\nzgdDoPGnraT4vAEwgXel5oU8yGKgkBkMa1fLJJFzHNjkAqPGipe55iF/lrLF\r\nxtu+nru6Z7kepKJTiNLsdLuC08BNUFrMsrLS2GKxgTJ4Lm0YNUaiyy9lLk0O\r\nCzRJhWkQceWmfErvdnlO/M/25Zedrk/zhwlBkwTnLcG0nQZibOFne89EtBo0\r\njEm0dAzeggazhJ1r/1tgpKrqvcbldKiCMQdUgF0phtTrnSIp4Chg4xnD+e23\r\neRb90cYnhIt7oDNRTs6E2f6ncylqSlum1QgjbJJ233NUmaK2zWIuJ0uC8aeh\r\nsEvppBX4TaDMAZ285LvvKM8Gsmt5y5QpHvv6PejWKhXFhmXbeMBJY1U2621N\r\nSuTQfGj5cnUHZHi01eyNlgZ4N6IiiHkc0g3gDfeIwOVg9+jSW6C5oh9Ayomm\r\nf57jl6gKBpepCnXFQVbqEKCnnfNpJLZjhlm7UOFgtpHbEN4re+111wbLycOK\r\nU1LnmRSJCI/HFcALICoa/dJst/sI+Gqg+VIWnfIHZr4e0Y6aUgO1g/Ps4fEb\r\nK6wOOA/duycbf7IABF9jZdCTtfhe/P1Nrwg=\r\n=tv+Z\r\n-----END PGP SIGNATURE-----\r\n"},"_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/untar_0.1.2_1666703176276_0.11411953727430002"},"_hasShrinkwrap":false},"0.1.3":{"name":"@agen/untar","version":"0.1.3","description":"Ununtar with Async Iterators","keywords":["async","generators"],"homepage":"https://github.com/agenjs/agen-untar/","license":"BSD-3-Clause","author":{"name":"Mikhail Kotelnikov"},"type":"module","main":"src/index.js","module":"dist/esm/agen-untar-esm.js","jsdelivr":"dist/cjs/agen-untar.min.js","unpkg":"dist/cjs/agen-untar.min.js","exports":{"package.json":"./package.json","umd":"./dist/cjs/agen-untar.min.js","require":"./dist/cjs/agen-untar.js","default":"./src/index.js"},"repository":{"type":"git","url":"https://github.com/agenjs/agen-untar.git"},"scripts":{"pretest":"rollup -c","test":"node ./test/index.js && eslint src","prepublishOnly":"rm -rf dist && yarn test"},"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-2022 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/untar@0.1.3","dist":{"shasum":"9a3a6cc1ac053a9bcc600b88a10c206b7abb45bc","integrity":"sha512-4vcDncsmbEml45qsXYwHY4WNwGGQWL5+f17i0/mT2In/3Ky+u61emfetsNq+aNtDSCbmEHoTsK7zgZ6IdRUYMg==","tarball":"https://registry.npmjs.org/@agen/untar/-/untar-0.1.3.tgz","fileCount":17,"unpackedSize":34825,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGAG0+AjiVk8NQfNSL/nEBL1Q7ttxb0e+r29gilcrT6QIhAPWZ8SPoU7xCCjv7Vxn/M54RNrPNFwjYj/c43M+hZxXl"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV+7tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsZQ/+PX2nxcbbYNOXkS3perEjPFP9mzfoWF7j+1GmclpqM6Ag6LDH\r\n0yN9oEgZhfsPhc/IyTCuxKSTlwmWGLcCVzWWQoE0/27VxHEBQ60fkM3tZvJZ\r\nUCpxTW3rgPH7P466uvZ+Rtz7AKpapOpvBO6pvHV5ma8JSBS5ZWqvvdHGx5/7\r\nTz7NxhIfrF1viYmU7BAuACEHibIv47LTDqWaTzuNbo7c/aAzSl37AHM5V61x\r\nO1AN6zLc7Cpe9UsU/dQ1Kkl8E32zLrh+oS0trwfecTW9x/8fvsnMxYqtZPGU\r\namMa3NiMYdcMNOpl+H8ugshsz7HPaJLvXstn7FLexhMZ7ZWWAJrwk+Hm77tc\r\nqH+dGIr5f7O6SC4iJf3F/PWm2lvh7kJhfxhFRjUeTZrkx1IOW9dtn3YoMNBo\r\nMwe+2TQYm4hO3Se5KQP54eGn1g12fPsSRytA1tCtar95gysfym4IQkBTvmlS\r\nGznmCU3L8BuOnZW99tHR3+OX3tf+QKHOwUqtn9BykrKT+gpc9bUL8C2bPS8b\r\nMdi/tZOIqxii8arDx0TCgxdGFNJVq5QNs/oW4o/NBxaesgxfkWYZM3rAfOXF\r\ndD9tzgNyd99SzONRBoEpOcjPiHqR1ef1pjj57sA+XCdpcYmeiP5YVMbXtMAN\r\nu35S5+8UUOSZB2I6E5sP7M0kgahyO1DP5ig=\r\n=lScR\r\n-----END PGP SIGNATURE-----\r\n"},"_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/untar_0.1.3_1666707181430_0.4707231838005028"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-25T12:57:11.358Z","0.1.0":"2022-10-25T12:57:11.570Z","modified":"2022-10-25T14:13:01.686Z","0.1.1":"2022-10-25T12:59:08.962Z","0.1.2":"2022-10-25T13:06:16.477Z","0.1.3":"2022-10-25T14:13:01.601Z"},"maintainers":[{"name":"mkotelnikov","email":"mikhail.kotelnikov@gmail.com"}],"description":"Ununtar with Async Iterators","homepage":"https://github.com/agenjs/agen-untar/","keywords":["async","generators"],"repository":{"type":"git","url":"https://github.com/agenjs/agen-untar.git"},"author":{"name":"Mikhail Kotelnikov"},"license":"BSD-3-Clause","readme":"@agen/untar\n===========\n\nThis package contains a AsyncIterator-based untar utility methods. The main method - `untar` - provides\nan asynchronous iterator over file entries stored in the archive. \nThe structure of returned file instances:\n* `path` - path to the file; for directories it contains the trailing `/` symbol.\n* `async* content()` - return an async iterator over the raw content of the file\n* `size` - the total size of the file\n* `modified` the data of the file modification\n* `mode` the file mode\n* `uid` user id\n* `gid` group id\n\nThe code of this library is based on a rewamped implementation of the [js-untar](https://github.com/InvokIT/js-untar) package (MIT License).\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`untar` method\n--------------\n\nThis method returns an AsyncIterator over files in the specified archive.\n\nParameters:\n* `iterator` - an AsyncIterator over binary blocks\n\nReturns an AsyncGenerator over archived file entries.\n\nExample: \n```javascript\n\nimport fs from 'fs';\nimport { untar } from '@agen/untar';\n\nconst stream = fs.createReadStream('./MyArchive.tar'); // Node streams are AsyncIterator generators\nfor await (let file of untar(stream)) {\n  console.log('>', file.path, file.size);\n  let content;\n  if (file.path.match(/\\.txt$/))  {\n    content = await toString(file.content());\n  } else {\n    content = await toBlob(file.content());\n  };\n  console.log('>', content);\n}\n\nasync function toBlob(content) {\n  const chunks = [];\n  for await (let block of content) {\n    chunks.push(chunk);\n  }\n  return new Blob(chunks);\n}\n\nasync function toString(content) {\n  let str = '';\n  const decoder = new TextDecoder();\n  for await (let block of content) {\n    str += decoder.decode(block);\n  }\n  return str;\n}\n\n```","readmeFilename":"README.md"}