Skip to content

@nhtio/serialization

Provides a mechanism to serialize and deserialize data within a NodeJS application

Variables

VariableDescription
versionThe current version of the package.

Functions

FunctionDescription
canSerializeChecks if a value is serializable
confirmConfirms that a value is serializable, returning the typecasted value if it is.
deserializeDeserializes the given Uint8Array into the original data type.
serializeSerializes the given data into a Uint8Array.

References

Serializable

Re-exports Serializable


SerializablePrimitive

Re-exports SerializablePrimitive


SerializableTypedArray

Re-exports SerializableTypedArray