@building-block/idl-domexception

DOMException polyfill

Usage no npm install needed!

<script type="module">
  import buildingBlockIdlDomexception from 'https://cdn.skypack.dev/@building-block/idl-domexception';
</script>

README

idl-domexception

DOMException polyfill

NPM Gzip Size

Installation

Using npm:

$ npm install --save @building-block/idl-domexception

Using yarn:

$ yarn add @building-block/idl-domexception

Usage

import { polyfill } from '@building-block/idl-domexception';

polyfill();

Alternatively, you can import the polyfill directly to run the side-effects:

import '@building-block/idl-domexception/polyfill';

Try with Runkit