tld-extract

Extract the TLD/domain/subdomain parts of an URL/hostname against mozilla TLDs 'official' listing .

Browse on unpkg