Skip to main content

parsePath

parsePath(path: string): Partial<Path>

Parses a string URL path into its separate pathname, search, and hash components.

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
pathstring