Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.URL

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.URL
import { type dom } from "https://deno.land/x/evt@v2.5.6/lib/types/index.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