JSPM

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

Abstracts out Blob and uses BlobBulder in cases where it is supported with any vendor prefix.

Package Exports

  • blob

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 support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Blob

A module that exports a constructor that uses window.Blob when available, and a BlobBuilder with any vendor prefix in other cases. If neither is available, it exports undefined.

Usage:

var Blob = require('blob');
var b = new Blob(['hi', 'constructing', 'a', 'blob']);