Small Footprint URL Parser

JSON →
library 1.5.10 ·javascript maintenance
verified May 27, 2026

url-parse is a URL parsing library designed for both Node.js and browser environments, emphasizing a small footprint. Originally created in 2014, it addressed the lack of a standardized WHATWG URL API across platforms. The package is currently at version 1.5.10 and receives infrequent updates, focusing on stability. It provides two distinct API interfaces: one that emulates the Node.js `url` module and another that behaves similarly to the modern browser `URL` interface. Its core differentiator is a pure string parsing approach, introduced in version 1.0.0, which ensures broad compatibility, particularly in environments without DOM access like Web Workers. It also bundles and exposes the `querystringify` module for robust query string handling. Critically, the project maintainers strongly recommend using the native `URL` interface for new development due to its superior security and accuracy, positioning `url-parse` primarily as a solution for legacy compatibility.

total hits 9
actors 3 distinct systems
last hit 1d ago human
GPTBot
5
Script
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · VE · 🇩🇪 Germany