Const
Includes:
Everything after the hash (#). If none exist, this will be an empty string.
Includes:
Domain, subdomains, and TLD (.com).
The full url string.
Includes:
Infrequently used password part of a url.
Everything between origin and search/hash without a leading slash. If none exist, this will
be simply '/'
.
Each path part of the pathname.
Port part of the URL. If none exist, this will be an empty string.
Http, https, wss, etc.
Everything after a ?, excluding the hash, as a string. If none exist, this will be an empty string.
An object representation of the parameters contained within the search string. If none exist, it will be an empty object.
Infrequently used username part of a url.
Shape definition for UrlParts for use with the
object-shape-tester
package.