Encode the components of a multi-segment url.
The url to encode.
the encoded url.
Preserves the '/'
separators.
Should not include the base url, since all parts are escaped.
Parse URL and retrieve hostname
The URL string to parse
a hostname string value
Test whether the url is a local url.
This function returns false
for any fully qualified url, including
data:
, file:
, and //
protocol URLs.
Join a sequence of url components and normalizes as in node path.join
.
The url components.
the joined url.
Normalize a url.
Return a serialized object string suitable for a query.
an encoded url query.
Modified version of stackoverflow.
Parse a url into a URL object.
A URL object.
Return a parsed object that represents the values in a query string.
Generated using TypeDoc
The namespace for URL-related functions.