JSPM

create-object-url

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 71
  • Score
    100M100P100Q72102F
  • License MIT

Normalize URL.createObjectURL, webkitURL.createObjectURL and don't crash older browsers

Package Exports

  • create-object-url

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

Readme

create-object-url

Normalize URL.createObjectURL, webkitURL.createObjectURL and don't crash older browsers. Safe to use inside a Web Worker.

npm install create-object-url
var createObjectURL = require('create-object-url');
var url = createObjectURL(file);