Allows reading Blob contents as an async iterator.
import toIt from 'blob-to-it'import all from 'it-all'const content = [ Uint8Array.from([0, 1, 2, 3, 4]) ]const blob = new Blob(content)const arr = await all(toIt(blob))console.info(arr) // [ [ 0, 1, 2, 3, 4 ] ] Copy
import toIt from 'blob-to-it'import all from 'it-all'const content = [ Uint8Array.from([0, 1, 2, 3, 4]) ]const blob = new Blob(content)const arr = await all(toIt(blob))console.info(arr) // [ [ 0, 1, 2, 3, 4 ] ]
Allows reading Blob contents as an async iterator.
Example