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

Usage in Deno

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

Properties

optional
auth: boolean | undefined
`true` if the serialized URL string should include the username and password, `false` otherwise.
optional
fragment: boolean | undefined
`true` if the serialized URL string should include the fragment, `false` otherwise.
optional
unicode: boolean | undefined
`true` if Unicode characters appearing in the host component of the URL string should be encoded directly as opposed to being Punycode encoded.