@misty4119/nds-api
v3.0.6
Published
NDS Protocol Buffers types for TypeScript (generated from nds-api/spec).
Readme
NDS-API - TypeScript SDK
Protocol SDK for NDS-API (NoieDigitalSystem) on TypeScript.
- Protocol spec:
../spec/proto/ - Repo docs index:
../docs/README.md
Installation
npm i @misty4119/[email protected]Features
- Protocol types: Identity / Asset / Event / Transaction / Result / Context
- Proto compatibility: matches the NDS Protocol Buffers specification
- Runtime-agnostic: no Bukkit/Paper, no database, no network stack dependencies
Quick Start
Decimal
import { ndsCommon } from "@misty4119/nds-api";
const d: ndsCommon.Decimal = { value: "1.23", scale: 2 };
console.log(d.value);Packages
| Package | Description |
|---------|-------------|
| @misty4119/nds-api | TypeScript protobuf DTOs (protobuf-ts runtime) |
Compatibility
- Node.js 24 (Active LTS) / 22 (Maintenance LTS)
- TypeScript 5.9.3
Notes (generated code)
- Protobuf DTOs are generated from
../spec/proto/**via Buf. - Generation template:
../spec/buf.gen.yaml
