parsePathIt splits the input string into three parts, and returns an object with those three parts function parsePath(input?: string): ParsedURL;§parsePath(input?: string): ParsedURL[src]§Parameters§input?: string optional[src]§Return Type§ParsedURL[src]An object with three properties: pathname, search, and hash.