0.1.5 • Published 6 months ago

@interweb-it/jam-codec v0.1.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

@interweb-it/jam-codec

TypeScript implementation of the JAM codec for binary serialization and deserialization. This library is based on @paritytech/jam-codec repository.

Installation

yarn add @interweb-it/jam-codec

Usage

import { encode, decode } from '@interweb-it/jam-codec';

// Encoding
const data = { foo: 'bar', baz: 42 };
const encoded = encode(data);

// Decoding
const decoded = decode(encoded);

Features

  • Binary serialization and deserialization
  • Type-safe encoding and decoding
  • Efficient variable-length integer encoding
  • Support for complex data structures

License

Apache-2.0

0.1.5

6 months ago

0.1.4

6 months ago

0.1.3

6 months ago

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago