@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.
get-location-origin
Get the window.location.origin string - even if not supported by the browser