tldjs

JavaScript API to work against complex domain names, subdomains and URIs.

tldslddomainbrowseruriurldomain namesubdomainpublic suffix

https://github.com/oncletom/tld.js