@cto.af/whatwg-url
v0.0.2
Published
This is a quick hack to replace just the external-facing parts of the [whatwg-url](https://github.com/jsdom/whatwg-url#readme) package with the modern, built-in version of URL and URLSearchParams.
Readme
@cto.af/whatwg-url
This is a quick hack to replace just the external-facing parts of the whatwg-url package with the modern, built-in version of URL and URLSearchParams.
Installation
npm install @cto.af/whatwg-urlThen edit package.json to use this:
{
"override": {
"whatwg-url": "[email protected]/whatwg-url"
},
"pnpm": {
"override": {
"whatwg-url": "[email protected]/whatwg-url"
}
}
}API
Full API documentation is available.
Example:
