PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
Simone Carletti
September 30, 2016 8:13am
MIT