Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/imports/happy_dom.ts>URL

Work-in-progress front-end tool which does put a smile on my face
Latest
class URL
Re-export
import { URL } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

Constructors

new
URL(url?: string)

Constructor.

Properties

hash: string
readonly
host: string

Returns the entire URL as a string.

hostname: string
href: string

Returns the entire URL as a string.

readonly
origin: string

Returns the origin.

password: string
pathname: string
port: string
protocol: string
username: string

Methods

protected
parse(url: string): void

Parses an URL.

toString(): string

Returns the entire URL as a string.