Skip to content

@nhtio/encoder

A portable cross-environment encoder / decoder for complex and structured data

Type Aliases

Type AliasDescription
EncodableDefines all the types which can be be encoded
EncodablePrimitiveDefines the union of all encodable primitive types.
EncodableTypedArrayDefines a union for all the encodable typed arrays.

Variables

VariableDescription
versionThe current version of the package.

Functions

FunctionDescription
decodeDecodes a compressed base64 string back into a value
encodeEncodes a value into a compressed base64 string