isomorphic-url-shim
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

/isomorphic-url-shim/

    Package Sidebar

    Install

    npm i isomorphic-url-shim

    Weekly Downloads

    5

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    1.75 kB

    Total Files

    6

    Last publish

    Collaborators

    • jccr