Polyfill of URL and URLSearchParams for browsers.
npm install @lvchengbin/urlPolyfill for URL and URLSearchParams. Totally following the implementation of Google Chrome.
``js`
$ npm i @lvchengbin/url --save
`js`
const { URL, URLSearchParams } = require( '@lvchengbin/url' );
`js`
import { URL, URLSearchParams } from '@lvchengbin/url';
If you want to use this library in browsers and to load it with
``