TypeScript SDK Installation
Requirements
Section titled “Requirements”- Node.js 18 or later — the SDK targets ES2022 and uses modern Node.js APIs.
- A running HEBBS server to connect to (see Deployment).
Install with npm
Section titled “Install with npm”npm install @hebbs/sdkTo pin to a specific version:
Install with pnpm
Section titled “Install with pnpm”pnpm add @hebbs/sdkInstall with yarn
Section titled “Install with yarn”yarn add @hebbs/sdkVerify Installation
Section titled “Verify Installation”import { HebbsClient } from '@hebbs/sdk';console.log('SDK loaded successfully');Dependencies
Section titled “Dependencies”The SDK has two runtime dependencies, both installed automatically:
| Package | Purpose |
|---|---|
@grpc/grpc-js | Pure-JavaScript gRPC implementation (no native addons) |
@grpc/proto-loader | Runtime protobuf parsing from the shipped .proto file |
Supported Platforms
Section titled “Supported Platforms”The SDK is a pure-JavaScript package (ESM) and supports all platforms where Node.js 18+ runs:
- Linux (x86_64, aarch64)
- macOS (x86_64, Apple Silicon)
- Windows (x86_64)
Next Steps
Section titled “Next Steps”- Quick Start — connect to HEBBS and run your first operations
- Client Reference — full API documentation