Tldextract

JavaScript Tldextract (Extract Host From URL)