TypeScript SDK
Get started with the CassaDB TypeScript SDK.
The TypeScript SDK provides a simple and fully typed interface for interacting with your CassaDB project.
It supports modern JavaScript runtimes including:
- Node.js
- Bun
- Deno
Installation
bash
pnpm add @cassadb/sdkCreate a Client
ts
import { CassaDB } from "@cassadb/sdk";
const db = new CassaDB({
apiKey: process.env.CASSADB_API_KEY!,
});Once the client is configured, you're ready to create collections, store documents and upload files.