Schema-first Destiny RSAT bitstream encode/decode for TypeScript.
Game-specific TypeDef schemas belong in the consuming app (e.g. web-tiger), not this package.
import { rsat } from "@blamnetwork/rsat";
const ResultHeader = rsat.schema(0x80801a2b, {
status: rsat.i32({ size: 3, bias: 1 }),
value: rsat.i32({ size: 32, bias: 0x80000000 }),
});
const bytes = rsat.encode(ResultHeader, { status: 0, value: 0 });- Site: https://blam-network.github.io/rsat/
- Local:
npm run docs
| Command | Purpose |
|---|---|
npm test |
Vitest |
npm run check / fix |
Biome via Ultracite |
npm run build |
ESM + CJS |
npm run validate |
check + test + typecheck + docs:build |
npm run release |
bump version, tag, push (CI publishes) |
MIT