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

x/deno/cli/js/web/url.ts>URLImpl

A modern runtime for JavaScript and TypeScript.
Go to Latest
class URLImpl
implements URL
import { URLImpl } from "https://deno.land/x/deno@v1.0.0/cli/js/web/url.ts";

Constructors

new
URLImpl(url: string | URL, 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

toJSON(): string
toString(): string
[customInspect](): string

Static Methods

createObjectURL(b: Blob): string
revokeObjectURL(url: string): void