Skip to content
JS
Package

url-normalize

Normalize, validate, and canonicalize URLs — returns HTTPS canonical form or null for invalid input. Domain extraction, URL humanization, Punycode/Unicode/IDN support, 12 config options. TypeScript, CJS + ESM.

v2.3.0, 13 Mar 2026MITESM + CommonJSTypes: BundledURLs and query stringsTypeScript tooling
$ npm install url-normalize

Key numbers

As of 25 Sept 2026
Weekly downloads
8.7k
+281% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
6 months ago
v2.3.0
GitHub stars
12
2 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 19.7k (18 Aug 2026)Low 627 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

8,656 downloads last week, 41,622 in the last month. The 12-month change of +281% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.3.0, 13 Mar 20266 months ago
First published
-
Last push to GitHub
13 Mar 2026195 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
17 kB
Dependencies (1)
punycode
npm install url-normalize
  • jsDelivrhttps://cdn.jsdelivr.net/npm/url-normalize@2.3.0/
  • unpkghttps://unpkg.com/url-normalize@2.3.0/
  • esm.shhttps://esm.sh/url-normalize@2.3.0
PackageWeekly downloadsGzipLast releaseModuleComparison
tldts60.5m-1 day agoESM + CommonJS-
tldts-icann2.8m-1 day agoESM + CommonJS-
tldts-experimental157.1k-1 day agoESM + CommonJS-
tldts-core61.8m-1 day agoESM + CommonJS-
@rushstack/lookup-by-path632.8k-2 days agoESM + CommonJS-
parse-domain364.7k-1 month agoESM only-
@jsonurl/jsonurl58.2k-2 years agoCommonJS-
url-join-ts12.1k--CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 8656 < 10000.