Skip to main content
Module

x/evt/mod.ts>dom.URL

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.URL
import { type dom } from "https://deno.land/x/evt@v2.4.13/mod.ts";
const { URL } = dom;

The URL interface represents an object providing static methods used for creating object URLs.

Properties

hash: string
host: string
hostname: string
href: string
readonly
origin: string
password: string
pathname: string
port: string
protocol: string
readonly
searchParams: URLSearchParams
username: string

Methods

toString(): string
toJSON(): string