Private preview: this is rolling out and may not be available on your account yet.
zod.
Runtimes
Entry points
Next
Make a client
Point the SDK at the API and choose how it authenticates.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Add @sumvin/sdk to a project, check your runtime, and pick the entry point you need.
bun add @sumvin/sdk
npm install @sumvin/sdk
pnpm add @sumvin/sdk
zod.
| Runtime | Supported |
|---|---|
| Node.js 20 or later | Yes |
| Evergreen browsers | Yes |
| Cloudflare Workers | Yes |
| Bun | Works, but the SDK’s own test suite does not yet run under Bun in CI |
| Import | What’s in it | Extra packages |
|---|---|---|
@sumvin/sdk | Every API operation, its types and schemas, plus authentication, errors and the ceiling reader. | None |
@sumvin/sdk/react | Query options for TanStack Query. | react, @tanstack/react-query |
@sumvin/sdk/testing | fakeFetch, for tests only. See Testing. | None |