Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/soramitsu/scale-codec-js-library

Pure JavaScript implementation of SCALE-codec
https://github.com/soramitsu/scale-codec-js-library

Last synced: 3 months ago
JSON representation

Pure JavaScript implementation of SCALE-codec

Lists

README

        

# Scale JS

This monorepo contains JavaScript implementation of [SCALE](https://docs.substrate.io/reference/scale-codec/) (Simple Concatenated Aggregate Little-Endian) codec specification.

Packages:

- [`@scale-codec/core`](./packages/core): low-level SCALE building blocks
- [`@scale-codec/enum`](./packages/enum): TypeScript tagged union library
- [`@scale-codec/definition-compiler`](./packages/definition-compiler): code generation tool which transforms high-level type namespace schema into a TypeScript module with strongly typed codecs
- [`@scale-codec/definition-runtime`](./packages/definition-runtime): default runtime library used for the output of the compiler

You can explore Scale JS API and benchmarks [online](https://soramitsu.github.io/scale-codec-js-library/).