Reference Documentation ↗
Parses a string URL path into its separate pathname, search, and hash components.
function parsePath(path: string): Partial<Path>
The URL path to parse.
The parsed pathname, search, and hash components.