Minimalist URL Parser

JSON →
library 0.1.0 ·javascript
verified May 27, 2026

url-parser-lite is a minimal URL parsing utility designed for all JavaScript environments, including browsers and Node.js. Currently at version 0.1.0, its primary differentiator is its extremely small footprint, weighing in at less than 1 kilobyte (specifically, 360 bytes). It provides basic parsing capabilities for common URL components like protocol, authentication, host, path, hash, and query parameters. The library prioritizes size and simplicity over comprehensive RFC compliance or advanced features found in native `URL` objects or larger parsing libraries. Given its early version, the release cadence is not yet established, but it serves as a straightforward alternative for environments where bundle size is critical and full URL specification adherence is not required. Its implementation is based on a well-regarded Stack Overflow answer, aiming for robust parsing of common URL patterns without external dependencies.

total hits 11
actors 4 distinct systems
last hit 4d ago AhrefsBot
GPTBot
5
Script
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France