@jazzmine-ui/sdk

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

A typed, framework-agnostic JavaScript/TypeScript client for Jazzmine backends. Use it in React, Vue, Svelte, Next.js, or vanilla TS — 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

npm install @jazzmine-ui/sdk

Constructor at a glance

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

Where to go next

On this page