extractPureURI
Extracts only the URI from a path with optional query and fragments.
For example, all these inputs return /path:
/path/path?query=thing/path#fragment/path?query=thing#fragment
Available since v1.0.1
Import
Section titled “Import”Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
path | string | A complete path, without the server part. |
Returns
Section titled “Returns”string — The path without its query string or fragment.
