UMD & [ponyfill](ponyfill.com) fork of [webcomponents/URL](github.com/webcomponents/url)
npm install url-ponyfillUMD & ponyfill fork of webcomponents/URL
ES2015 (webpack, rollup, etc)
```
import { URL } from 'url-ponyfill'
Node.js
``
const { URL } = require('url-ponyfill')
`
import { URL, hasNativeURL } from 'url-ponyfill';
if (!hasNativeURL) {
self.URL = URL;
}
``