Query part of the uri.
Get a full uri string.
Auth part of the uri.
Can be 'username' or 'username:password'.
Auth part of the uri.
Can be 'username' or 'username:password'.
Fragment part of the uri (url encoded).
const uri = new Uri('http://fakedomain.com/path');
uri.fragment = 'test';
uri.toString(); // http://fakedomain.com/path/#test
// or
uri.fragment = '#test';
uri.toString(); // http://fakedomain.com/path/#test
Fragment part of the uri (url encoded).
const uri = new Uri('http://fakedomain.com/path');
uri.fragment = 'test';
uri.toString(); // http://fakedomain.com/path/#test
// or
uri.fragment = '#test';
uri.toString(); // http://fakedomain.com/path/#test
Hostname part of the uri.
Hostname part of the uri.
Path part of the uri.
Path part of the uri.
Port part of the uri.
Port part of the uri.
Get a relative uri string.
Create a full uri string like absoluteUri
Create new Uri object with joined path and query params.
absolute uri
relative uri
Generated using TypeDoc
Simple Uri abstraction based on https://en.wikipedia.org/wiki/Uniform_Resource_Identifier.
It is a wrapper over the outdated and non-intuitive Node.js URL.