Install the VB-OS Node.js SDK
Install
Section titled “Install”npm install @vb-os/sdkRequirements
Section titled “Requirements”- Node.js >= 22
- Runtime dependencies: none (uses native
fetch)
Module Format
Section titled “Module Format”The SDK ships as a dual ESM + CJS package. Both import styles work:
// ESMimport { VBOSClient } from '@vb-os/sdk';
// CommonJSconst { VBOSClient } = require('@vb-os/sdk');Version
Section titled “Version”The current release is 0.1.0.
Quick Check
Section titled “Quick Check”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);