Skip to content

Install the VB-OS Node.js SDK

Terminal window
npm install @vb-os/sdk
  • Node.js >= 22
  • Runtime dependencies: none (uses native fetch)

The SDK ships as a dual ESM + CJS package. Both import styles work:

// ESM
import { VBOSClient } from '@vb-os/sdk';
// CommonJS
const { VBOSClient } = require('@vb-os/sdk');

The current release is 0.1.0.

Verify the installation by constructing a client:

import { VBOSClient } from '@vb-os/sdk';
const client = new VBOSClient({
apiKey: process.env.VBOS_API_KEY,
});
const me = await client.users.me();
console.log(me);