JSPM

async-document.write

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q31459F
  • License MIT

Patches document.write to execute in a non-blocking way.

Package Exports

  • async-document.write

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

Readme

async document.write

This tiny library patches a browser's native document.write to execute in an async, non-blocking way.

If you plan on targeting IE 11, you'll also need this document.currentScript polyfill. IE 10 and lower are not supported and will fall back to the original behavior. The same is true for IE 11 without the above polyfill.