{"name":"blob-to-it","version":"1.0.4","description":"Turns a blob into an async iterator","main":"index.js","repository":{"type":"git","url":"git+https://github.com/achingbrain/it.git"},"homepage":"https://github.com/achingbrain/it/tree/master/packages/blob-to-it#readme","bugs":{"url":"https://github.com/achingbrain/it/issues"},"scripts":{"test":"playwright-test","lint":"standard","coverage":"playwright-test","clean":"rm -rf dist","check":"npm run build:dep:types && tsc --noEmit","build":"npm run build:types","build:dep:types":"cd node_modules/browser-readablestream-to-it && npm run build:types","build:types":"npm run build:dep:types && tsc --emitDeclarationOnly --declarationDir dist","prepublishOnly":"npm run build"},"author":{"name":"Alex Potsides","email":"alex@achingbrain.net"},"license":"ISC","dependencies":{"browser-readablestream-to-it":"^1.0.3"},"devDependencies":{"chai":"^4.2.0","it-all":"^1.0.6","mocha":"8.0.1","playwright-test":"^0.7.1","standard":"^16.0.3","typescript":"^4.0.2"},"types":"dist/index.d.ts","gitHead":"29126fa87dae108acef381693812f22ac8f9362b","_id":"blob-to-it@1.0.4","_nodeVersion":"16.8.0","_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (darwin)","dist":{"integrity":"sha512-iCmk0W4NdbrWgRRuxOriU8aM5ijeVLI61Zulsmg/lUHNr7pYjoj+U77opLefNagevtrrbMt3JQ5Qip7ar178kA==","shasum":"f6caf7a4e90b7bb9215fa6a318ed6bd8ad9898cb","tarball":"http://registry-npm.ywwl.com/blob-to-it/download/blob-to-it-1.0.4.tgz","fileCount":7,"unpackedSize":3422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2k2jCRA9TVsSAnZWagAAwbUP/3OO1IIIJs5HxRwkN9QT\n9Art5vmRmiu6RZ/wt/8Dw4ZSRSDnIFpIKp9oVdiJYahMEkb2pjrbWzmhNLdP\nUOjsZhfVR32Sy2u81gsR3+hdBMqz+O7IO+wecbui3Vjkw/sER5ic/wrOr2Yq\nryK6gX871BGgCZoEbzUo9bYA0PEdfAtKbnJh0wbG0ocl8GRK3n9NWPZjNI0l\npJ133eGiM2SAIlL/O7Mtvsg6SwoQQNDaDeHZNpSoWmuFsuPmRcc8m264RHxX\nwRmI4qd0+1jqDGIfat/6lzRvdrCKSAvpu5YSRUp6JVoyiqjqADdGoTv15X71\n4vspq3QSC7LMNZkV12qAgbbeQ9/2NiNqfh+z0AIk9VCA+PW0QlMSJlhMe2Q+\naoG3FcRNkHuNTtdbNcIYyKJdVy75nuXBtEVrqhlH57TSOnZmuCp1tbl0jf2M\nZDMxDWPuX/Ut8rqXW7Mv3TcyxaAFUoZEu97yDK5AchIZ4Bhp93X7XpPjx9Tv\n1+IZmi4+SxiO8u8UskqRUV1Ptu/BhFpHzfRBm2hEexYwff+vn5yXCKgclwvG\ncqHQqbkHGgbVCqwUgj458H5rZB70914XlOJ3r6ogunHMVTcqEr/sBn4XxicQ\ntUGn2qRz1FSQlAV5SMwGu99WswIwHffVSTZqZi4GJHqlRR2oshL5Ez30UicN\nRAMY\r\n=SU3x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNFcv0dQ0ZO2mc4jGb92U3NyTNpqOSGYfH63Yf5FtHNgIhAIOh6ZGEr9k3MoHZ+WUTNZGL6pqqISzspRIBAE96jTLF"}],"size":1687,"noattachment":false,"key":"/blob-to-it/-/blob-to-it-1.0.4.tgz"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blob-to-it_1.0.4_1633875319807_0.5307450170647088"},"_hasShrinkwrap":false,"readme":"# blob-to-it\n\n[![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it)\n[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=main\\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amain)\n\n> Turns a blob into an async iterator\n\n# About\n\n<!--\n\n!IMPORTANT!\n\nEverything in this README between \"# About\" and \"# Install\" is automatically\ngenerated and will be overwritten the next time the doc generator is run.\n\nTo make changes to this section, please update the @packageDocumentation section\nof src/index.js or src/index.ts\n\nTo experiment with formatting, please run \"npm run docs\" from the root of this\nrepo and examine the changes made.\n\n-->\n\nAllows reading Blob contents as an async iterator.\n\n## Example\n\n```javascript\nimport toIt from 'blob-to-it'\nimport all from 'it-all'\n\nconst content = [ Uint8Array.from([0, 1, 2, 3, 4]) ]\nconst blob = new Blob(content)\nconst arr = await all(toIt(blob))\n\nconsole.info(arr) // [ [ 0, 1, 2, 3, 4 ] ]\n```\n\n# Install\n\n```console\n$ npm i blob-to-it\n```\n\n## Browser `<script>` tag\n\nLoading this module through a script tag will make it's exports available as `BlobToIt` in the global namespace.\n\n```html\n<script src=\"https://unpkg.com/blob-to-it/dist/index.min.js\"></script>\n```\n\n# API Docs\n\n- <https://achingbrain.github.io/it/modules/blob_to_it.html>\n\n# License\n\nLicensed under either of\n\n- Apache 2.0, ([LICENSE-APACHE](https://github.com/achingbrain/it/blob/main/packages/blob-to-it/LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](https://github.com/achingbrain/it/blob/main/packages/blob-to-it/LICENSE-MIT) / <http://opensource.org/licenses/MIT>)\n\n# Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","publish_time":1633875319928,"_cnpm_publish_time":1633875319928,"dist-tags":{"latest":"3.0.0"}}