URI
Funkcia provides a safe URI
module to work with URI encoding/decoding without breaking your application.
SafeURI
SafeURI provides safe wrappers around JavaScript's native URI encoding/decoding functions, returning Result
types instead of throwing exceptions, preserving all signature overloads of the original namespace.
encode
Encodes a text string as a valid Uniform Resource Identifier (URI).
decode
Gets the unencoded version of an encoded Uniform Resource Identifier (URI).
encodeURIComponent
Encodes a text string as a valid component of a Uniform Resource Identifier (URI).
decodeURIComponent
Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).
Last updated
Was this helpful?