Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 497 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 497 Bytes

Sia

Sia serialization for JavaScript/TypeScript

What is Sia?

Sia is the serialization library used by Unchained. Check more details on Sia's official documentation.

Installation

npm install @timeleap/sia

Usage

import { Sia } from "@timeleap/sia";

const sia = new Sia();

sia
  .addString8("Hello")
  .addUint8(25)
  .addAscii("World");

console.log(sia.content);