JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 90050
  • Score
    100M100P100Q152638F
  • License ISC

Turns a blob into an async iterator

Package Exports

  • blob-to-it

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (blob-to-it) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

blob-to-it

Build status Coverage Status Dependencies Status

Turns a Blob into an async iterator

Install

$ npm install --save blob-to-it

Usage

const toIt = require('blob-to-it')
const all = require('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 ] ]