url

Node.js's core url module, packaged standalone for browser bundlers

Library
npm
v0.11.4
375 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
36 /100 Needs Attention
Development Activity 0
Maintenance 0
Community 64
Maturity 60
Momentum 20

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
59 /100 Fair
Architecture 55
Code Quality 62
Innovation 40
Learning Curve 80

url re-implements Node.js’s core url module as a standalone npm package so that Browserify (and other bundlers that shim Node built-ins) can give browser code the exact same parse, format, and resolve API Node scripts use natively, without needing an actual Node runtime.

It depends on punycode and qs to replicate the same edge-case parsing behavior as Node’s built-in implementation, and is commonly pulled in transitively as a browser polyfill for the url built-in rather than depended on directly by application code.

What You Get

  • A drop-in replacement for Node’s core url module, callable via require('url') in bundled browser code
  • Legacy parse, format, and resolve functions matching Node’s original (pre-WHATWG) URL API
  • Dependencies on punycode and qs to match Node’s IDNA host-name handling and query-string parsing
  • A test suite (test/) validating parity with Node core’s own url module behavior

Common Use Cases

  • Bundling legacy Node.js code with Browserify or webpack that calls require('url') and needs it to work in browsers
  • Acting as the automatic polyfill target when a bundler’s Node-core shimming config resolves url imports
  • Maintaining backward compatibility for libraries still using the pre-WHATWG url.parse/url.format API surface

Under The Hood

Architecture - the entire implementation lives in a single url.js file exporting parse, format, resolve, and the legacy Url constructor, mirroring the flat structure of Node’s own core url module rather than splitting into multiple internal modules. Tech Stack - plain JavaScript (CommonJS) with two runtime dependencies, punycode (for IDNA/host-name encoding) and qs (for query-string serialization), both chosen to replicate Node core’s exact parsing semantics. Code Quality - the package ships a test/ directory run via mocha/nyc for coverage and lints with ESLint (@ljharb/eslint-config) as a pretest step, plus a legacy zuul config for cross-browser test runs, but the project has had no commits since mid-2024 and shows zero recent releases, so it’s effectively frozen in maintenance mode. API Design - the API is intentionally a byte-for-byte match of Node’s older url.parse/url.format/url.resolve functions rather than the newer WHATWG URL class, so there’s no learning curve for anyone already familiar with Node’s original module, but it also means the package doesn’t expose the more modern, spec-compliant URL/URLSearchParams interface.

Used by 18 apps in this directory

TypeScript
44%
Other

Magic

AI Agents · Automation · Low Code Platforms

5,055

Magic is an enterprise-grade open-source AI agent platform combining a generalist AI agent, workflow engine, IM, and collaborative office system for running an AI-powered digital workforce.

View details
68
Repo Health
79
Technical
65
Dependency
Built with
TypeScript 44%
PHP 32%
Updated 2 months ago
Clojure
57%
Other

Metabase

Analytics

49,827

The open-source BI platform that lets anyone ask questions and build dashboards without writing SQL — with an embedded analytics SDK and AI-powered query assistant included.

View details
95
Repo Health
84
Technical
62
Dependency
Built with
Clojure 57%
TypeScript 38%
Updated 5 days ago
Python
58%
Apache 2.0

MLflow

AI Development · Monitoring

28,512

The open source AI engineering platform for debugging, evaluating, monitoring, and optimizing production LLMs and agents at scale.

View details
96
Repo Health
86
Technical
67
Dependency
Built with
Python 58%
TypeScript 35%
Updated 5 days ago
TypeScript
85%
GPL 3.0

Notesnook

File Storage · Note Taking · Security

14,822

End-to-end encrypted, open-source note-taking where your data stays yours — even from the server.

View details
91
Repo Health
84
Technical
60
Dependency
Built with
TypeScript 85%
JavaScript 12%
Updated 5 days ago
TypeScript
90%
MIT

Plasmic

CMS · Design Tools · Low Code Platforms

7,125

The open-source visual builder that lets teams design React apps and websites with drag-and-drop while integrating seamlessly with your codebase.

View details
81
Repo Health
78
Technical
64
Dependency
Built with
TypeScript 90%
Updated 6 days ago
Python
45%
Other

Redash

Analytics · Data Engineering

28,849

Redash lets anyone connect to 35+ SQL and NoSQL data sources, write a query in the browser, and turn the result into a shared dashboard — no separate BI suite required.

View details
91
Repo Health
74
Technical
61
Dependency
Built with
Python 45%
JavaScript 29%
TypeScript 19%
Updated 1 weeks ago
Rust
93%
Other

Tabby

AI Code Assistants

33,924

Self-hosted AI coding assistant — run GitHub Copilot-grade code completion on your own hardware with no cloud dependency.

View details
55
Repo Health
78
Technical
61
Dependency
Built with
Rust 93%
Updated 4 months ago
TypeScript
98%
Apache 2.0

Tianji

Analytics · Monitoring

3,119

Replace Google Analytics, UptimeKuma, and Prometheus with one self-hosted platform that tracks websites, monitors uptime, and reports server health.

View details
86
Repo Health
76
Technical
64
Dependency
Built with
TypeScript 98%
Updated 6 days ago
HTML
68%
AGPL 3.0

ToolJet

AI Agents · Low Code Platforms · No Code Platforms

41,123

Open-source AI-native platform to build and deploy internal tools, workflows, and AI agents with a visual drag-and-drop builder and 80+ data source integrations.

View details
94
Repo Health
81
Technical
63
Dependency
Built with
HTML 68%
JavaScript 20%
Updated 5 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers