Skip to main content

SDKs

cStar's headless architecture means you build the UI — our SDKs handle the data layer. Official clients for JavaScript, React, and Svelte with framework-idiomatic patterns: hooks for React, rune classes for Svelte.

Quick Comparison

JS React Svelte
Install size ~12 KB ~18 KB ~15 KB
TypeScript Full Full Full
Loading states Manual Automatic Automatic
Real-time ChatClient useTyping() TypingState
SSR support Yes Yes Yes
Tests 102 34 32

Installation

# Core client (use this if you don't need framework bindings)
npm install @cstar.help/js

# React hooks + core client
npm install @cstar.help/react

# Svelte rune classes + core client
npm install @cstar.help/svelte