Package
tldjs
JavaScript API to work against complex domain names, subdomains and URIs.
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
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
- v2 first release 2.0.0, 19 Jul 2017
- v1 first release 1.0.0, 18 May 2012
Recent releases
| Version | Published |
|---|---|
| 2.3.2 | 11 Jul 2025 |
| 2.3.1 | 18 Feb 2018 |
| 2.3.0 | 2 Feb 2018 |
| 2.2.0 | 10 Sept 2017 |
| 2.1.0 | 1 Sept 2017 |
| 2.0.0 | 19 Jul 2017 |
| 1.8.0 | 19 Jul 2017 |
| 1.7.1 | 18 Jul 2017 |
| 1.7.0 | 13 Sept 2016 |
| 1.6.3 | 13 Sept 2016 |
| 1.6.2 | 20 Nov 2015 |
| 1.6.1 | 3 Nov 2015 |
| 1.6.0 | 26 Oct 2015 |
| 1.5.5 | 13 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 tldjsCDN
jsDelivr: 1.7m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/tldjs@2.3.2/ - unpkg
https://unpkg.com/tldjs@2.3.2/ - esm.sh
https://esm.sh/tldjs@2.3.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| tldts | 60.5m | - | 1 day ago | ESM + CommonJS | - |
| tldts-icann | 2.8m | - | 1 day ago | ESM + CommonJS | - |
| tldts-experimental | 157.1k | - | 1 day ago | ESM + CommonJS | - |
| parse-domain | 364.7k | - | 1 month ago | ESM only | - |
| @jsonurl/jsonurl | 58.2k | - | 2 years ago | CommonJS | - |
| tldts-core | 61.8m | - | 1 day ago | ESM + CommonJS | - |
Indexability: Indexed.