JavaScript API to work against complex domain names, subdomains and URIs.
github.com/thom4parisot/tld.js
thom4parisot/tld.js