parseurl.js (npm): A JavaScript function parse URL string to an object: href, origin, username, password, hostname, port, host, pathname, search, path & hash.
Keywords: Javascript|parseURL