Skip to content

Installation

Install the Altitrace SDK in your project.

Package Manager

bun
bun add @altitrace/sdk

Requirements

  • Node.js 18+ or Bun
  • TypeScript 5.0+ (recommended)

Verify Installation

import { AltitraceClient } from '@altitrace/sdk'
 
const client = new AltitraceClient()
const health = await client.healthCheck()
 
console.log('Status:', health.status)

TypeScript Configuration

The SDK includes TypeScript definitions. For optimal type safety:

tsconfig.json
{
  "compilerOptions": {
    "strict": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "moduleResolution": "bundler"
  }
}