Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

SDK Overview

Reactor provides typed SDKs that wrap the HTTP API for each capability. All SDKs share authentication, error handling, and project context patterns.

SDKPackageStatus
JavaScript / TypeScript@reactor/client + capability packagesGA
SwiftReactorClientBeta

The JS SDK is a monorepo of focused packages:

PackageCapability
@reactor/clientUnified client entry point
@reactor/authIdentity and organizations
@reactor/dataDatabase queries and mutations
@reactor/realtimeRealtime subscriptions
@reactor/storageBlob storage
@reactor/functionsFunction invocation
@reactor/jobsJob triggers and status
@reactor/sitesSite deployment
@reactor/aiLLM Gateway
@reactor/connectConnectors
@reactor/analyticsAnalytics events
Terminal window
npm install @reactor/client @reactor/auth @reactor/data
import { createClient } from '@reactor/client';
const reactor = createClient({
url: 'https://api.reactor.cloud',
token: process.env.REACTOR_TOKEN,
});
// Query data
const { data } = await reactor.data
.from('posts')
.select('*')
.limit(10);
// Invoke a function
const result = await reactor.functions.invoke('hello', {
name: 'World',
});

Generate TypeScript types from your database schema:

Terminal window
reactor types generate -o ./database.types.ts