Skip to content

What is DeltaBase?

The serverless event store for TypeScript developers

A fully managed, serverless event store built on Cloudflare’s edge. TypeScript-native. Zero-config. Pay per event.

Event sourcing without the headache.


Terminal window
npx @delta-base/cli dev
# Local event store + Studio UI running in seconds

Built for modern JavaScript. Full type safety. Great IntelliSense. Not ported from Java.

Runs on Cloudflare’s global network. Low latency worldwide. Works with Vercel Edge, Cloudflare Workers, anywhere V8 runs.

No servers to provision. No monthly minimums. You pay for events read, written, and stored. Nothing else.


Great fit:

  • Audit trails and compliance (financial, healthcare, legal)
  • Time-travel debugging (“What happened last Tuesday?”)
  • Complex workflows with rollbacks
  • Real-time features and notifications
  • Multi-tenant SaaS applications

Skip it when:

  • Simple CRUD is enough (user profiles, settings)
  • Data rarely changes (static configuration)
  • Your team isn’t ready for event-driven thinking

We’re honest about this. Event sourcing is powerful, but it’s not always the right tool.


Three concepts. That’s it.

  1. Commands - Intent to change (money.deposit, order.place)
  2. Events - What happened (money.deposited, order.placed)
  3. State - Current reality, calculated from events
// Business logic decides what events to produce
const events = decide(command, currentState);
// Store the facts
await eventStore.appendToStream(streamId, events);
// Rebuild state anytime by replaying events
const state = events.reduce(evolve, initialState);

@delta-base/server — Event store client for Node.js and serverless functions

import { DeltaBase } from '@delta-base/server';
const client = new DeltaBase({ apiKey: process.env.DELTABASE_API_KEY });
const eventStore = client.getEventStore('my-app');

@delta-base/cli — Local development and deployment

Terminal window
npx @delta-base/cli dev # Start local environment

@delta-base/toolkit — Command handlers, projections, and patterns

import { handleCommandWithDecider } from '@delta-base/toolkit';

  • Complete audit trails — Every change preserved forever
  • Time-travel debugging — Reproduce any bug, any state, any moment
  • Real-time subscriptions — WebSockets and webhooks built-in
  • Global performance — Edge deployment, low latency everywhere
  • Beautiful tooling — Studio UI for visualization and debugging

Or jump straight to: