Skip to main content
UrlObject - url - Node documentation
interface UrlObject

Usage in Deno

import { type UrlObject } from "node:url";

Properties

optional
auth:
string
| null
| undefined
optional
hash:
string
| null
| undefined
optional
host:
string
| null
| undefined
optional
hostname:
string
| null
| undefined
optional
href:
string
| null
| undefined
optional
pathname:
string
| null
| undefined
optional
protocol:
string
| null
| undefined
optional
slashes:
boolean
| null
| undefined
optional
port:
string
| number
| null
| undefined
optional
query:
string
| null
| ParsedUrlQueryInput
| undefined