parse-domain
popularSplits a hostname into subdomains, domain and (effective) top-level domains
Updated by @thois
@netlify/parse-domain
Splits an url into sub-domain, domain and effective top-level-domain
Updated by @benaiah
expressjs-domain-parser
A domain/url parser that breaks apart into components
Updated by @carlosmarte
@cypress/parse-domain
Splits an url into sub-domain, domain and effective top-level-domain
Updated by @cypress-npm-publisher
parse-domains
Splits an url into sub-domain, domain and top-level-domain: Code based on : https://github.com/peerigon/parse-domain with extra edits to deal with errors and add dtld parameter
Updated by @nguru
connect-domains
Parse req.headers.host into a heiarchy of domains and sub-domains populating the 'req.domains' object.
Updated by @johnhenry