urlite
JSON →urlite is a minimal, dependency-free URL parser and formatter for Node.js and browsers, optimized for size and speed. Version 3.1.0 compresses to under 1 kB minified and achieves over 2 million parse operations per second—outperforming most alternatives. It uses a single regex to extract URL components in one pass. An 'extra' entry point adds querystring, hash, and auth parsing/formatting. Ship TypeScript definitions. Ideal when bundle size and parsing performance are critical.
Resources
packageurlite ↗