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