Installation
DreamDB ships as a single npm package for both Node.js and browser environments.
npm / pnpm / yarn
Then import the SDK in your application:
Browser via CDN
For quick prototypes or standalone HTML pages, load DreamDB from a CDN:
The script exposes a global DreamDB object:
Requirements
| Environment | Minimum version | Notes |
|---|---|---|
| Node.js | 18+ | Uses the native fetch API (stable since Node 18) |
| Browser | Any modern browser | Chrome 66+, Firefox 57+, Safari 12.1+, Edge 79+ |
| TypeScript | 5.0+ | Type declarations are bundled in the package |
The only runtime dependency is a standards-compliant fetch implementation. No native add-ons or WebAssembly modules are required.
Backend setup
DreamDB stores data on any S3-compatible object store. For local development, the fastest path is MinIO:
For production, point at any S3-compatible endpoint (AWS S3, Cloudflare R2, Backblaze B2, Wasabi). Set the standard AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION environment variables and the HTTP connector auto-signs requests with SigV4.
Install the docs as a skill
These docs ship as an Agent Skill so your agent can answer DreamDB questions accurately — without you pasting context. Install it once and Claude loads it on demand.
Claude Code — this project only (drop it in the project's skills dir):
Claude Code — every project (install under your home config):
The skill is dreamdb/ with a SKILL.md and one markdown reference file per
docs page. It's regenerated on every deploy, so it never drifts from the site.
No install needed for one-off questions. Point any agent at
https://dreamdb.dreamlake.ai/llms.txt
(an index) or https://dreamdb.dreamlake.ai/llms-full.txt (the whole site in one
file). See LLM-Readable Docs for all the ways to consume these
docs as markdown.
Next steps
- Quick Start -- a 10-minute end-to-end walkthrough with ingest, query, and time-travel.
- TypeScript SDK Reference -- the full API surface for the
@dreamlake/dreamdbpackage. - Browser Demo -- try DreamDB in the browser without installing anything.