PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
Simone Carletti
November 7, 2016 12:08am
MIT