parsePath

external fun parsePath(path: String): Path(source)

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