Clean URL, remove "hash" and/or "trailing slash".
Get absolute href from URL.
Get hash from URL.
Get location href.
Get location origin.
Get path from URL.
Get port based on URL or location.
Get query object from URL.
Next tick
Parse URL for path, query and hash and more.
Parse a query string to object.
Init a page request. Fetch the page and returns a promise with the text content.
Update data.next
, the title and the history
Generated using TypeDoc
Turn a route string such as
/user/:name
into a regular expression.Used for:
https://www.npmjs.com/package/path-to-regexp