url-poly
v1.0.4
Published
Polyfill for the URL web api.
Downloads
6
Readme
URL Poly
A polyfill for the URL web api.
Install
npm install url-poly
Usage
import URL from 'url-poly'
// create a URL
const url = new URL(window.location)
When you're ready to drop support for IE, just remove the import and your code will work the same.