splitted-url (npm): Use to identify (extract) main domain and hostname from a url. We can also use it as external url checking by comparing domain variable in the result.
Keywords: split-url|url-spit|maindomain|domain|hostname|host|subdomain|domain name extract|sud domain extractor|is external url|external url|external url checker|external-url