{"name":"blob-to-it","version":"1.0.3","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#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.2"},"devDependencies":{"chai":"^4.2.0","it-all":"^1.0.5","mocha":"8.0.1","playwright-test":"^0.7.1","standard":"^16.0.3","typescript":"^4.0.2"},"types":"dist/index.d.ts","gitHead":"79462fc3cdc4c29bc1c1f7d541c3618580036b45","_id":"blob-to-it@1.0.3","_nodeVersion":"16.8.0","_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (darwin)","dist":{"integrity":"sha512-3bCrqSWG2qWwoIeF6DUJeuW/1isjx7DUhqZn9GpWlK8SVeqcjP+zw4yujdV0bVaqtggk6CUgtu87jfwHi5g7Zg==","shasum":"699a05548f4d9a51851e476a5c2de4d11a801fe8","tarball":"http://registry-npm.ywwl.com/blob-to-it/download/blob-to-it-1.0.3.tgz","fileCount":7,"unpackedSize":3350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOOVrCRA9TVsSAnZWagAAmqQP/jIFhMJjioKwmDBbHdf7\nuz6JllcCiJ53fFTXrtxB6fT6xGhXHXjvRceH/JFlrrX7H4OgOpJySXWS0+Bg\n10DHyQUZEG+tDyCD+cWtIrTteNU7WM/RCv4CsWo+SdoefkZiM0laheSLivro\n2AdQmzIbU4v6/iJNhRWmJ3bzFnxRVfF+0h/aYre3YYtMRSADBuoO6dVN/0Xd\nJRXf87IUEtiN0S6oV0gIQx047PfuDANlO5snnVMZ4Yu36H8apNX51ovwHuCf\nnBqForTzal+JKCSRx5o9rSfIdMGqw9PW9mVDEqoYsa/zZov+sTIMh9vsk+CQ\n5QyyC2trNy4Ub1ISqNfQvx4rZJoRlMAUayuC0HtxwVueklyz1BAgAHCvsizr\nnztlajY2DZCGfluEJ55cPb4J27NFHsdVAJAtPwxKPXN+Ek3Mi9lZS7xhzFJM\nhIt2gBj5W2ektrqQ7PMczUommPrN4AYR4wlEsy6iplFrp0OiOYtXiIkvHryi\ny9I/k3vMrgIy0NODG1ws15kaINUNB2QUu2mR23zqfa4IHdctoR8EfdnxivOP\nI2selAaXtivyzjLI8CGevibyp6ecezzwojJ3mbxbZHEQ8KlQsDjt36ftjGeT\n9+ofLqxOwqXquNMJ9vmmlufer2sh4KihWcOJqir7Qc4dFhp8Salr5wNEnQCD\ndEx1\r\n=7wfS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr2yHB7y1MdgkuGACmP+XI/Cvsj8/BACJc15ArzlAnpAIgX8PE/0Rtd3/6GoC/dBtHE8kOG8urhkH+JjCN6aiYLR0="}],"size":1668,"noattachment":false,"key":"/blob-to-it/-/blob-to-it-1.0.3.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.3_1631118699151_0.35989364824529524"},"_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":1631118699285,"_cnpm_publish_time":1631118699285,"dist-tags":{"latest":"3.0.0"}}