URLFormatOptions - Node documentation
interface URLFormatOptions

Usage in Deno

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

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.