GitHunt
JA

Jamie0/javascript-url

Implementation-agnostic URL and URLSearchParams

Implementation Agnostic URL and URLSearchParams

This is a vanilla zero-dependency implementation of URL and URLSearchParams, that should be able to run in any > ESM5 environment.

Why?

I needed these methods available (at least, a reasonably good ) inside a v8 sandbox, which only implements the standard library from ECMA, and doesn't include any of the more modern WHATWG methods.

This implementation combines the original node-url module from Node.js with the URLSearchParams polyfill from @lukeed/url-shim.

Languages

JavaScript100.0%

Contributors

Other
Created April 23, 2025
Updated April 23, 2025
Jamie0/javascript-url | GitHunt