@nhtio/encoder
A portable cross-environment encoder / decoder for complex and structured data
Type Aliases
| Type Alias | Description |
|---|---|
| Encodable | Defines all the types which can be be encoded |
| EncodablePrimitive | Defines the union of all encodable primitive types. |
| EncodableTypedArray | Defines a union for all the encodable typed arrays. |
Variables
| Variable | Description |
|---|---|
| version | The current version of the package. |
Functions
| Function | Description |
|---|---|
| decode | Decodes a compressed base64 string back into a value |
| encode | Encodes a value into a compressed base64 string |