This monorepo contains JavaScript implementation of SCALE (Simple Concatenated Aggregate Little-Endian) codec specification.
Packages:
@scale-codec/core
: low-level SCALE building blocks@scale-codec/enum
: TypeScript tagged union library@scale-codec/definition-compiler
: code generation tool which transforms high-level type namespace schema into a TypeScript module with strongly typed codecs@scale-codec/definition-runtime
: default runtime library used for the output of the compiler
You can explore Scale JS API and benchmarks online.