Skip to content
JS
Package

tldjs

JavaScript API to work against complex domain names, subdomains and URIs.

v2.3.2, 11 Jul 2025MITESM + CommonJSTypes: NoneURLs and query strings
$ npm install tldjs

Key numbers

As of 25 Sept 2026
Weekly downloads
524.1k
+605% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v2.3.2
GitHub stars
475
54 forks
Open issues / PRs
21 / 8
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 2m (25 Aug 2026)Low 88.7k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

524,083 downloads last week, 4,479,891 in the last month. The 12-month change of +605% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
035 in total
Latest version
2.3.2, 11 Jul 20251 year ago
First published
18 May 2012
Last push to GitHub
8 Oct 2025351 days before the snapshot
Repository archived
No
Open issues
21
Open pull requests
8
Commits, last 52 weeks
1
Dependents on npm
165

Major versions

  1. v2 first release 2.0.0, 19 Jul 2017
  2. v1 first release 1.0.0, 18 May 2012

Recent releases

VersionPublished
2.3.211 Jul 2025
2.3.118 Feb 2018
2.3.02 Feb 2018
2.2.010 Sept 2017
2.1.01 Sept 2017
2.0.019 Jul 2017
1.8.019 Jul 2017
1.7.118 Jul 2017
1.7.013 Sept 2016
1.6.313 Sept 2016
1.6.220 Nov 2015
1.6.13 Nov 2015
1.6.026 Oct 2015
1.5.513 Oct 2015
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 20
Runtimes
-
Unpacked size (npm)
871 kB
Dependencies (1)
punycode
npm install tldjs

CDN

jsDelivr: 1.7m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/tldjs@2.3.2/
  • unpkghttps://unpkg.com/tldjs@2.3.2/
  • esm.shhttps://esm.sh/tldjs@2.3.2
PackageWeekly downloadsGzipLast releaseModuleComparison
tldts60.5m-1 day agoESM + CommonJS-
tldts-icann2.8m-1 day agoESM + CommonJS-
tldts-experimental157.1k-1 day agoESM + CommonJS-
parse-domain364.7k-1 month agoESM only-
@jsonurl/jsonurl58.2k-2 years agoCommonJS-
tldts-core61.8m-1 day agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.