PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
Simone Carletti
January 3, 2026 2:25pm
MIT