{"_id":"chunk-store-iterator","_rev":"5-074279e165d8e3cc5296e73e952c5e9e","name":"chunk-store-iterator","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"chunk-store-iterator","version":"1.0.0","keywords":["async","interator","stream","abstract-chunk-store","chunk","readable","writable","store","createReadStream","createWriteStream","read","write","convert"],"author":{"name":"ThaUnknown"},"license":"MIT","_id":"chunk-store-iterator@1.0.0","maintainers":[{"name":"thaunknown","email":"casistaken@gmail.com"}],"homepage":"https://github.com/ThaUnknown/chunk-store-iterator#readme","bugs":{"url":"https://github.com/ThaUnknown/chunk-store-iterator/issues"},"dist":{"shasum":"f64417e5077d127eabee750b928a95296eb37425","tarball":"https://registry.npmjs.org/chunk-store-iterator/-/chunk-store-iterator-1.0.0.tgz","fileCount":3,"integrity":"sha512-xPdCSjclCZdwYkVeJx3D+SoStzqJHWoP1yKqL6n3Gs0Y1BYxZD2uthCXjwnansruoU933X+hczEJnFVmAStHxA==","signatures":[{"sig":"MEQCIFR+HBbWytgCe1vlPEJCOpoAqVEhoxn+03VmYRJA08gGAiBNbOqm3Agk1I/cxpnBsK2oyd9ykDnKjeLbYG3qtv3P6Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZr28ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqd2w//fMK6bOcym+T56vqqxW/lFWCwOFV8huiNe3FPbWdr9aFa9t/j\r\nBnaiZ/nrpHsQiVnDLE0zh5fz6T2W5iaNeTWh7dgxfRH5kBbZTNwbv5gPCrl+\r\ndJZYIV2BJzHU78OchdoX3xvkKonOlXQRCozJOsviFrwqoE9nzM3BBgfWbzSn\r\nQmpl4hBszIKNihXJ/6s7Jn9/G5+Ds0Wi8Db7PvVIpew/p5jgsUSLP1JZAGsf\r\nzxQ8DvDkcr5jT/0oPT34tIqbNeIRBNBpEifdRQovAyI2nmSqQOml5tYPVjOL\r\nwUFZhKw7cG6ldQFIGyjs/f6aYBU8Pr1UX6KCF6NuginQdGR5UcEB3qKtzwte\r\n8tBhrjKFU+OsU7Ch97KgYeGaskgtuTUHBis06GLDL1XxNl5x1uRx2Xu/9ILq\r\n1JHhD2Cb7yNU/Ql2J0q6pF0TYFb8iUFsWZMCGTfW9QaHSBU7mbyK+qshYJrZ\r\nqdq1DurBYchVZ6Hux5b8lPeOAEfiuMjRTjrGnsMebs8AD8Mtz10ktbic367x\r\ng0cT4/QokbGm2L/EEiJ37LkFGu4ihvCQqribHNAU0df01ZNMoKofFpdJbgea\r\nw3goglhJp2Dzs4XmoYTWb0dAdfqiwfwrKdbnYEMUqi0OLlW5YByi286UR4e3\r\n7rcZ7/jxmBnonez8HX3WAgzBGmLir6fTnmo=\r\n=ODSk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:chunk-store-iterator-1.0.0.tgz","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"thaunknown","email":"casistaken@gmail.com"},"_resolved":"D:\\TEMP_TMP\\38be0d44c9b5eca2438540446d1c3477\\chunk-store-iterator-1.0.0.tgz","_integrity":"sha512-xPdCSjclCZdwYkVeJx3D+SoStzqJHWoP1yKqL6n3Gs0Y1BYxZD2uthCXjwnansruoU933X+hczEJnFVmAStHxA==","repository":{"url":"git+https://github.com/ThaUnknown/chunk-store-iterator.git","type":"git"},"_npmVersion":"8.18.0","description":"Convert an abstract-chunk-store compliant store into an async iterator, or write to using an async iterator.","directories":{},"_nodeVersion":"18.8.0","dependencies":{"block-iterator":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/chunk-store-iterator_1.0.0_1667677628713_0.39188019775133554","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"chunk-store-iterator","version":"1.0.1","keywords":["async","interator","stream","abstract-chunk-store","chunk","readable","writable","store","createReadStream","createWriteStream","read","write","convert"],"author":{"name":"ThaUnknown"},"license":"MIT","_id":"chunk-store-iterator@1.0.1","maintainers":[{"name":"thaunknown","email":"casistaken@gmail.com"}],"homepage":"https://github.com/ThaUnknown/chunk-store-iterator#readme","bugs":{"url":"https://github.com/ThaUnknown/chunk-store-iterator/issues"},"dist":{"shasum":"321de071f47a00f4a410c64719a866dcbf479da5","tarball":"https://registry.npmjs.org/chunk-store-iterator/-/chunk-store-iterator-1.0.1.tgz","fileCount":4,"integrity":"sha512-qJe+DoBxT0x4I9OOx/zL+lHIA0RWR5bauJ4vxcixG3uqm1vHIWgz41z0Kyj/lG31oCtBZhAgoe5FVIdWe2UTqg==","signatures":[{"sig":"MEUCIHVuZu1aKCGKi8TdgWN2h5Ll/2gmL388rIeUTd2p6sMHAiEAqHOQiky26T8fuPynb8JtrMDbf4ADoIKGXd5np7gzKWo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbmRCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtfBAAlvCVGvnSmG8UoSUG4WYOA7mGKDrlGgS9ApWt6oJSJHbWF+sm\r\nXKXPyHbtobBuUwSKExy1UFu/XQNQgVGtEAJPvIQkdUeoV1Qb42g/D1ARaGGg\r\nZqD4doAXrr25Ua7A4RRutTXs09MiNZEtUYqK51SGvVt6nPfvE3nXbAPqTa/h\r\nIPnV7c+DD7OPHgLnXuUNhiyiASUMIVG3WhSJ/LAQ+quWd3BvB0NlfkgAZWey\r\nZ9d7oA3Zf+eviAr+0tnWNs/JVryV//+iXlv5s7IyBzJdlRiNI184kRbXUat+\r\n87Xcwq+lbLX6FD39ptdMrQ19SZzxQ2oQPbsfJlAKOlo8itrrRtj0rWWKGgrt\r\ndxVMDmseDS2n2hF+8eTM4Z52Xlfp/jXYJdPj+TsB3VtkIdStPP+mf2FVXUbu\r\n4vDl0TnIF4Ss9iXRjF0i1BPEE5vEYhngBsPYL15s+JAa2ogXZ5sxmXZZoy+N\r\nHZnNIZK+B8dNcMnAPg5t9YGzpeOlU0EWwI6fhta76XVymo6Wivt4xacsNXME\r\nCfLxn2ODzKXqmXTxT/ows0UTcavrq9ifqYDP4vjDDgs25qlWezWgzVThTf9e\r\ne0jyaBecJ7XL9yNuXJD6qU0HWnFXQ4+6WPwoRpWHdUrygIcmCVz/nd12JbQT\r\nXksoHRnnQM2c2UDK11rZ7O8mDJxAXR1h+ZA=\r\n=GmEg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","_from":"file:chunk-store-iterator-1.0.1.tgz","scripts":{"test":"tape test.js"},"_npmUser":{"name":"thaunknown","email":"casistaken@gmail.com"},"_resolved":"D:\\TEMP_TMP\\36fb515db2dc3e9b09a1262e13abeb16\\chunk-store-iterator-1.0.1.tgz","_integrity":"sha512-qJe+DoBxT0x4I9OOx/zL+lHIA0RWR5bauJ4vxcixG3uqm1vHIWgz41z0Kyj/lG31oCtBZhAgoe5FVIdWe2UTqg==","repository":{"url":"git+https://github.com/ThaUnknown/chunk-store-iterator.git","type":"git"},"_npmVersion":"8.18.0","description":"Convert an abstract-chunk-store compliant store into an async iterator, or write to using an async iterator.","directories":{},"_nodeVersion":"18.8.0","dependencies":{"block-iterator":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.0.1","streamx":"^2.12.5","simple-concat":"^1.0.0","fs-chunk-store":"^2.0.2","string-to-stream":"^3.0.1","cache-chunk-store":"^3.0.0","memory-chunk-store":"^1.3.0","immediate-chunk-store":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/chunk-store-iterator_1.0.1_1668179010614_0.965761408803413","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"chunk-store-iterator","version":"1.0.2","keywords":["async","interator","stream","abstract-chunk-store","chunk","readable","writable","store","createReadStream","createWriteStream","read","write","convert"],"author":{"name":"ThaUnknown"},"license":"MIT","_id":"chunk-store-iterator@1.0.2","maintainers":[{"name":"thaunknown","email":"casistaken@gmail.com"}],"homepage":"https://github.com/ThaUnknown/chunk-store-iterator#readme","bugs":{"url":"https://github.com/ThaUnknown/chunk-store-iterator/issues"},"dist":{"shasum":"624b8b0861d0ed968ad4f90cadf1caf07613c0b3","tarball":"https://registry.npmjs.org/chunk-store-iterator/-/chunk-store-iterator-1.0.2.tgz","fileCount":4,"integrity":"sha512-lZK9wTO4H8UXHyPuLmnzjTnV/ns+4+ww9AUpQki55LKDVt+yAeMStgUyYuoIO3uWQG1YuW9LNDzfo6mleub9IA==","signatures":[{"sig":"MEYCIQDQOJNN6nz5XtV5l9BO9oKDQl0zqNzLJrLOdopCXsiKbwIhAKHTzoTsW+35Bin7+EtN8mb54xhWvsaHgtd95VBQFT3I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbmaZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJCg//fFmXtF8rHpul9PDvekNwBQXVv22YLIyBJTf2nzOO0Jn2o9ZJ\r\ns5UrrcREJUy70L/jNgLUDES4h0GCW79xS/TNViAfy/pGIuwdM0MznYlFYGWg\r\n1rjA0sE1ugYHbR4oXAFJGJumeyQDJQAe7/L+5/4Rj9YfNZUbx2vXZDlMlQdk\r\nibXFZBMZEEbweXKWXcjj1sGlycDqdC5VtN8Xd8L39N89gA44RM4Ms0CCHMt8\r\nAffxosLXo/la0KXafqRXIU/MV6TMYcN/iVI0YsVuU03Z2Dax/YmkxNDhz2D7\r\n84xyHhcuxYe0bTx6N99QTK9EpTiVBrJz6sjz+MxcJjPw4UsAtbX7jvq+gAzZ\r\nFHVZV7jae8G/h3f1YTpYREiOSpXXQDY06Ue6eYhbJvIYznqrfGWGlsgMDyD3\r\nOfLDFMqiLkuGcJyNvrr/glWAK/RHrCFBKnQU1p4500Yip3hVKoxStHstxVCo\r\nSOlTBtWJOZu+IU7R0Cd7z2IPVXaRTWI8YaQvYFzfMjTI+Abn9Q8/sHFThiHL\r\no3MQlVl7aeuMSXGeRAWiYBSBPFJXgT8IfBqBJ4D3EVMFzZWQaSZ+caZ//MVY\r\nHb2KLQJAeB5I6+Edr7oQLHyhf4HOigEP9LfANeyjdj0xz3miSXF07IvrPPOh\r\nT2qrXs5lMYhCpsci7A1Wt3gtS8VgMPEGG7I=\r\n=rPDP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","_from":"file:chunk-store-iterator-1.0.2.tgz","scripts":{"test":"tape test.js"},"_npmUser":{"name":"thaunknown","email":"casistaken@gmail.com"},"_resolved":"D:\\TEMP_TMP\\2c1808aa2da19a77589063bcb6781e64\\chunk-store-iterator-1.0.2.tgz","_integrity":"sha512-lZK9wTO4H8UXHyPuLmnzjTnV/ns+4+ww9AUpQki55LKDVt+yAeMStgUyYuoIO3uWQG1YuW9LNDzfo6mleub9IA==","repository":{"url":"git+https://github.com/ThaUnknown/chunk-store-iterator.git","type":"git"},"_npmVersion":"8.18.0","description":"Convert an abstract-chunk-store compliant store into an async iterator, or write to using an async iterator.","directories":{},"_nodeVersion":"18.8.0","dependencies":{"block-iterator":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.0.1","streamx":"^2.12.5","simple-concat":"^1.0.0","fs-chunk-store":"^2.0.2","string-to-stream":"^3.0.1","cache-chunk-store":"^3.0.0","memory-chunk-store":"^1.3.0","immediate-chunk-store":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/chunk-store-iterator_1.0.2_1668179609469_0.6828736378617726","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"chunk-store-iterator","version":"1.0.3","keywords":["async","interator","stream","abstract-chunk-store","chunk","readable","writable","store","createReadStream","createWriteStream","read","write","convert"],"author":{"name":"ThaUnknown"},"license":"MIT","_id":"chunk-store-iterator@1.0.3","maintainers":[{"name":"thaunknown","email":"casistaken@gmail.com"}],"homepage":"https://github.com/ThaUnknown/chunk-store-iterator#readme","bugs":{"url":"https://github.com/ThaUnknown/chunk-store-iterator/issues"},"dist":{"shasum":"26f2641fb0daa82a270c86c4f69b6542cd17f11d","tarball":"https://registry.npmjs.org/chunk-store-iterator/-/chunk-store-iterator-1.0.3.tgz","fileCount":4,"integrity":"sha512-JcSaB5h3wQstQKnaJi8sET40f0m+6Kh4mhKIr05lrWKi+EiQzn6XUoi6LipgRGMqXWNZZJaMz2tH4aeg4ptBDA==","signatures":[{"sig":"MEQCICP/JI4eKepCzyQ6R+1HssoXKRSROMprP4QPim1qOR9OAiBeEk189CtUX3M62M3Vga3aN+J1tS65vYgqF0zWeCGQQQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0IcgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFtA//efS5X5WbBWR89dJ0KGsZRGBa6f0KhuRc9ABRGJxtwFel5GJk\r\nqeuSZYQOQEarbzEhrcIMkFM3yZOqFaIxhqxeFHgrqygPYypsfs5s8aw3G8Rt\r\n0D07raYh7l7iFPt12/Cuep6bygb7Tj18h8t6Uc7ghBp7xSiVszEhYPbSd2be\r\nW4akPnTZqWWobJw3dLuvqoRm5DusCGdPhOQpAU8was0W4+NmCyQsrqfftUZA\r\nEHOrky2mA4tN4SkyHjaqYmRMdgw5IrMff3OQV6RX+RMqgjSoI2fygTZFXzfx\r\npNPcn3Pphv06O1BrBkOErDWYRGYZH68t0BajRt/SqdjcnXEZHvXfOgikV8ws\r\neQYoCxU3ZiOMP1vqan7fL181UZ6VQSW8zT/IgeYO0hrtP9oGbjGIbkaIDdTq\r\n6iGrU92zv3qfQn9tG3Rlw/QwH1w0mGjz/yrj1MyOecBOyEd8+OYDjlIugqDI\r\nY0KUIjYQIYozUv21/rpDoDzUqg3AiGGdQqrFE2UZ1CvUVhECVepkORaBx6S3\r\nj05JGa/SV4aNe/gviFsMW3Pf9dkL9IRSunrQWENVYJeo91Ev16tsySWMhh4i\r\nMRr/QtA4atsXbaPu1YQtOl0uoRFXmen6CaVdSJQsN1HEhioyc61HHfvjp3Wj\r\neN/NMAf8Grx0l+/1xz0Qy13SLvZNDyd/3kA=\r\n=HXCn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","_from":"file:chunk-store-iterator-1.0.3.tgz","scripts":{"test":"tape test.js"},"_npmUser":{"name":"thaunknown","email":"casistaken@gmail.com"},"_resolved":"D:\\TEMP_TMP\\2c38d0c96e8b99773d699e7387d20d80\\chunk-store-iterator-1.0.3.tgz","_integrity":"sha512-JcSaB5h3wQstQKnaJi8sET40f0m+6Kh4mhKIr05lrWKi+EiQzn6XUoi6LipgRGMqXWNZZJaMz2tH4aeg4ptBDA==","repository":{"url":"git+https://github.com/ThaUnknown/chunk-store-iterator.git","type":"git"},"_npmVersion":"8.19.3","description":"Convert an abstract-chunk-store compliant store into an async iterator, or write to using an async iterator.","directories":{},"_nodeVersion":"18.13.0","dependencies":{"block-iterator":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.6.3","streamx":"^2.13.2","simple-concat":"^1.0.1","fs-chunk-store":"^4.0.0","string-to-stream":"^3.0.1","cache-chunk-store":"^3.2.2","memory-chunk-store":"^1.3.5","immediate-chunk-store":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/chunk-store-iterator_1.0.3_1674610464568_0.9971966648463397","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"chunk-store-iterator","version":"1.0.4","description":"Convert an abstract-chunk-store compliant store into an async iterator, or write to using an async iterator.","main":"index.js","dependencies":{"block-iterator":"^1.1.1"},"type":"module","devDependencies":{"cache-chunk-store":"^3.2.2","fs-chunk-store":"^4.0.0","immediate-chunk-store":"^2.2.0","memory-chunk-store":"^1.3.5","simple-concat":"^1.0.1","streamx":"^2.13.2","string-to-stream":"^3.0.1","tape":"^5.6.3"},"repository":{"type":"git","url":"git+https://github.com/ThaUnknown/chunk-store-iterator.git"},"keywords":["async","interator","stream","abstract-chunk-store","chunk","readable","writable","store","createReadStream","createWriteStream","read","write","convert"],"author":{"name":"ThaUnknown"},"license":"MIT","bugs":{"url":"https://github.com/ThaUnknown/chunk-store-iterator/issues"},"homepage":"https://github.com/ThaUnknown/chunk-store-iterator#readme","scripts":{"test":"tape test.js"},"_id":"chunk-store-iterator@1.0.4","_integrity":"sha512-LGjzJNmk7W1mrdaBoJNztPumT2ACmgjHmI1AMm8aeGYOl4+LKaYC/yfnx27i++LiAtoe/dR+3jC8HRzb6gW4/A==","_resolved":"D:\\TEMP_TMP\\6c440c3f5d684c49267f474860567bca\\chunk-store-iterator-1.0.4.tgz","_from":"file:chunk-store-iterator-1.0.4.tgz","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-LGjzJNmk7W1mrdaBoJNztPumT2ACmgjHmI1AMm8aeGYOl4+LKaYC/yfnx27i++LiAtoe/dR+3jC8HRzb6gW4/A==","shasum":"152bcfc554ddc05aa0383ef20933f01c421ffd7d","tarball":"https://registry.npmjs.org/chunk-store-iterator/-/chunk-store-iterator-1.0.4.tgz","fileCount":4,"unpackedSize":8913,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICgmF4S8YF4iA8umIov0zrOPcPyBgwTYH/JF899VnbRXAiBTigDyvRrmpVN/0GNFdqiv8aJ1va8VG95Jn93Kr/4hVQ=="}]},"_npmUser":{"name":"thaunknown","email":"casistaken@gmail.com"},"directories":{},"maintainers":[{"name":"thaunknown","email":"casistaken@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chunk-store-iterator_1.0.4_1743763545502_0.5131231351369956"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-05T19:47:08.713Z","modified":"2025-04-04T10:45:45.851Z","1.0.0":"2022-11-05T19:47:08.863Z","1.0.1":"2022-11-11T15:03:30.821Z","1.0.2":"2022-11-11T15:13:29.671Z","1.0.3":"2023-01-25T01:34:24.754Z","1.0.4":"2025-04-04T10:45:45.696Z"},"bugs":{"url":"https://github.com/ThaUnknown/chunk-store-iterator/issues"},"author":{"name":"ThaUnknown"},"license":"MIT","homepage":"https://github.com/ThaUnknown/chunk-store-iterator#readme","keywords":["async","interator","stream","abstract-chunk-store","chunk","readable","writable","store","createReadStream","createWriteStream","read","write","convert"],"repository":{"type":"git","url":"git+https://github.com/ThaUnknown/chunk-store-iterator.git"},"description":"Convert an abstract-chunk-store compliant store into an async iterator, or write to using an async iterator.","maintainers":[{"name":"thaunknown","email":"casistaken@gmail.com"}],"readme":"# chunk-store-iterator [![javascript style guide][standard-image]][standard-url]\r\n\r\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\r\n[standard-url]: https://standardjs.com\r\n\r\n#### Convert an [abstract-chunk-store](https://github.com/mafintosh/abstract-chunk-store) store into an async iterator, or write to using an async iterator.\r\n\r\n[![abstract chunk store](https://cdn.rawgit.com/mafintosh/abstract-chunk-store/master/badge.svg)](https://github.com/mafintosh/abstract-chunk-store)\r\n\r\nA majorly simplified version of [chunk-store-stream](https://github.com/feross/chunk-store-stream). Dependency free and very fast.\r\n\r\nRead/write data from/to a chunk store, with iterators.\r\n\r\n## Install\r\n\r\n```\r\nnpm install chunk-store-iterator\r\n```\r\n\r\n## Usage\r\n\r\n### Create a read iterator\r\n\r\n``` js\r\nimport { chunkStoreRead } from 'chunk-store-iterator'\r\nimport FSChunkStore from 'fs-chunk-store' // any chunk store will work\r\nimport { Readable } from 'streamx'\r\n\r\nconst chunkLength = 3\r\nconst store = new FSChunkStore(chunkLength)\r\n\r\n// ... put some data in the store\r\n\r\nconst asyncIterator = chunkStoreRead(store, { length: 1200, zeroPadding: true })\r\nconst stream = Readable.from(asyncIterator)\r\n\r\nstream.pipe(process.stdout)\r\n\r\n// or\r\n\r\nfor await (const chunk of chunkStoreRead(store, { length: 1200 })) {\r\n  console.log(chunk)\r\n}\r\n```\r\n\r\n### Write using an iterator\r\n\r\n```js\r\nimport { chunkStoreWrite } from 'chunk-store-iterator'\r\nimport FSChunkStore from 'fs-chunk-store' // any chunk store will work\r\nimport fs from 'fs'\r\n\r\nconst chunkLength = 3\r\nconst store = new FSChunkStore(chunkLength)\r\n\r\nconst stream = fs.createReadStream('file.txt')\r\nawait chunkStoreWrite(store, stream)\r\n```\r\n\r\n## License\r\n\r\nMIT.\r\n","readmeFilename":"readme.md"}