Module

std/node/url.ts>Url

Deno standard library
Go to Latest
class Url
import { Url } from "https://deno.land/std@0.166.0/node/url.ts";

Constructors

new
Url()

Index Signatures

[key: string]: unknown

Properties

auth: string | null
hash: string | null
host: string | null
hostname: string | null
href: string | null
path: string | null
pathname: string | null
port: string | null
protocol: string | null
query: string | ParsedUrlQuery | null
slashes: boolean | null

Methods

resolve(relative: string)
resolveObject(relative: string | Url)
urlParse(
url: string,
parseQueryString: boolean,
slashesDenoteHost: boolean,
)