Package
tld-extract
Extract the TLD/domain/subdomain parts of an URL/hostname against mozilla TLDs 'official' listing .
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 29.7k
- +30% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 3 years ago
- v2.1.0
- GitHub stars
- 46
- 14 forks
- Open issues / PRs
- 1 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
29,695 downloads last week, 245,184 in the last month. The 12-month change of +30% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 2.1.0, 21 Dec 20223 years ago
- First published
- -
- Last push to GitHub
- 17 Jul 2024799 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 27
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 213 kB
- Dependencies (0)
- None
npm install tld-extract- jsDelivr
https://cdn.jsdelivr.net/npm/tld-extract@2.1.0/ - unpkg
https://unpkg.com/tld-extract@2.1.0/ - esm.sh
https://esm.sh/tld-extract@2.1.0
Indexability: Indexed.