Skip to main content
interface URLFormatOptions

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.

Back to top