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

x/xdg/vendor/types/deno.d.ts>URL

Determine XDG Base Directory paths (OS/platform portable)
Latest
class URL
import { URL } from "https://deno.land/x/xdg@v10.6.0/vendor/types/deno.d.ts";

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

Constructors

new
URL(url: string, base?: string | URL)

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

createObjectURL(object: any): string
revokeObjectURL(url: string): void
toJSON(): string
toString(): string