@eternaljs/url-parser
This basic package allows you to parse a URL into its singular parts, i.e protocol, username, password, hostname, port, domain, subdomain.
This basic package allows you to parse a URL into its singular parts, i.e protocol, username, password, hostname, port, domain, subdomain.
Extract the TLD/domain/subdomain parts of an URL/hostname against mozilla TLDs 'official' listing .
Live Networks script that converts all links to outer domains to open in a new window and adds the rel attribute of 'noreferrer noopener'
Extracts the hostname from an url.