Isomorphic WHATWG URL API
JSON →iso-url provides an isomorphic implementation of the WHATWG URL API, ensuring consistent URL parsing and manipulation across Node.js and browser environments. It wraps the native `URL` and `URLSearchParams` objects and adds some support for legacy Node.js `url.parse` properties on the `URL` instance. The package is currently at version 1.2.1 and maintains an active release cadence with regular bug fixes and dependency updates, with minor versions released every few months. A key differentiator is its unified API that bridges modern browser `window.URL` behavior with the Node.js `url` module, while also offering `format` and `relative` utilities for common URL operations. It explicitly adheres to the WHATWG specification, advocating for `URLSearchParams` and not supporting legacy `querystring` objects.
Traffic · last 30 days ↑500% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇺🇦 Ukraine · 🇩🇪 Germany · 🇫🇷 France