interface URLFormatOptions
Usage in Deno
import { type URLFormatOptions } from "node:url";
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
search: boolean | undefined
true if the serialized URL string should include the search query, 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.