Skip to content
Skip to content

JS / TS SDK

npm

The official JavaScript and TypeScript client for the VRSJO API. Works in Node.js, Deno, and modern browsers.

Install

npm install @vrsjo/sdk

Quick Start

import { VRSJOClient } from "@vrsjo/sdk"

const client = new VRSJOClient({
  token: process.env.VRSJO_API_TOKEN,
})

const devices = await client.devices.list({ limit: 50 })
console.log(devices.data)

Features

Type-safe

Full TypeScript definitions generated from the OpenAPI spec. No more guessing response shapes.

Auto-retry

Exponential backoff with jitter for transient failures and 429 rate-limit responses.

Tree-shakeable

Import only the modules you need. Zero unused code shipped to the browser.