parseURLIt takes a URL string and returns an object with the URL's protocol, auth, host, pathname, search, and hash function parseURL(input?: string, defaultProto?: string): ParsedURL;§parseURL(input?: string, defaultProto?: string): ParsedURL[src]§Parameters§input?: string optional[src]§defaultProto?: string optional[src]§Return Type§ParsedURL[src]A parsed URL object.