@jazzmine-ui/sdk
TypeScript
Framework-agnostic

@jazzmine-ui/sdk

Typed, framework-agnostic client for Jazzmine backends with built-in retries, timeouts, and streaming support.

What it solves

Use it in React, Vue, Svelte, Next.js, or vanilla TS apps. The client is not tied to a framework runtime.

Runtime note

Node.js 18+ works out of the box with global fetch. For older Node versions, provide fetchImpl.

Integration flows

FlowBest forWhat you get
chat()Single request/response callsSimple typed payload and final assistant response
chatStream()Token/event-style progress UXIntermediate events plus final ChatResponse result
sendMessage()Fast thread creation + first messageConvenience flow with optional auto conversation creation

Install

install.sh
npm install @jazzmine-ui/sdk

Constructor at a glance

client.ts
new JazzmineClient(baseEndpoint: string, options?: JazzmineClientOptions)

Where to go next