Skip to main content
UrlObject - node__url.d.ts - Node documentation
interface UrlObject

Usage in Deno

```typescript import { type UrlObject } from "node:node__url.d.ts"; ```

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