TypeScript SDK

    Install @nodura/sdk and initialize the client with your API URL and key.

    npm install @nodura/sdk
    import { NoduraClient } from '@nodura/sdk';
    
    const client = new NoduraClient({
      baseUrl: process.env.NODURA_BASE_URL || 'http://localhost:3000/api',
      auth: { type: 'api-key', apiKey: process.env.NODURA_API_TOKEN! },
    });
    
    const health = await client.health();
    console.log('API status:', health.status);