import * as mod from "https://firstname.lastname@example.org/node/url.ts";
This function ensures the correct decodings of percent-encoded characters as well as ensuring a cross-platform valid absolute path string.
The url.urlParse() method takes a URL string, parses it, and returns a URL object.
This function ensures that
The url.resolve() method resolves a target URL relative to a base URL in a manner similar to that of a Web browser resolving an anchor tag HREF.