Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

$URL

class $URL implements URL {
constructor(input?: string);
auth: string;
hash: string;
get hasProtocol(): number;
host: string;
get hostname(): string;
get password(): string;
pathname: string;
get port(): string;
get isAbsolute(): number | boolean;
protocol: string;
query: QueryObject;
get username(): string;
get search(): string;
get searchParams(): URLSearchParams;
get origin(): string;
get fullpath(): string;
get encodedAuth(): string;
get href(): string;
 
append(url: $URL): void;
toJSON(): string;
toString(): string;
}

§Implements

§Constructors

§
new $URL(input?: string)
[src]

§Properties

§
auth: string
[src]
§
hash: string
[src]
§
hasProtocol: number readonly
[src]
§
host: string
[src]
§
hostname: string readonly
[src]
§
password: string readonly
[src]
§
pathname: string
[src]
§
port: string readonly
[src]
§
isAbsolute: number | boolean readonly
[src]
§
protocol: string
[src]
§
username: string readonly
[src]
§
searchParams: URLSearchParams readonly
[src]
§
origin: string readonly
[src]
§
fullpath: string readonly
[src]
§
encodedAuth: string readonly
[src]
§
href: string readonly
[src]

§Methods

§
append(url: $URL): void
[src]
§
toJSON(): string
[src]
§
toString(): string
[src]