1.0.2 • Published 6 years ago

isomorphic-url-shim v1.0.2

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

isomorphic-url-shim

Node and browser module that returns either the native URL interface or a shimmed one.

Usage

ES2015 (webpack, rollup, etc)

import { URL } from 'isomorphic-url-shim'

Node.js

const { URL } = require('isomorphic-url-shim')

Notes

It's UMD compatible.

Uses url-ponyfill as the shim.