Now Available — v0.6.0 "Cumulus"

The database that
runs everywhere

Browser, Node.js, Edge. One API. Zero compromises.

NebulaDB v0.6.0 "Cumulus" brings first-class cloud and edge support — Cloudflare D1, Deno KV, Vercel KV, AWS Lambda, and hybrid deployment. 40+ packages, 15+ adapters, TypeScript-first, reactive, and MIT-licensed.

Terminal
0+
npm Packages
0+
Storage Adapters
0
Runtime Environments
0+
Plugin Extensions

Built for the modern stack

From browser to server to edge — one consistent, reactive, TypeScript-first API.

☁️

Cloud & Edge Native

First-class support for Cloudflare D1, Deno KV, Vercel KV, and AWS Lambda. Deploy anywhere with zero configuration changes.

🔀

Hybrid Adapter

Combine local and remote storage — SQLite locally, Cloudflare D1 in production. Automatic sync with conflict resolution.

Reactive Queries

Live subscriptions push updates to your UI when data changes. Subscribe to any query and get real-time results.

🔒

AES-256-GCM Encryption

Transparent encryption at rest with field-level control. PBKDF2 key derivation. HIPAA/PCI/GDPR ready.

🔌

Modular Adapters

Swap storage backends without changing code. Memory, IndexedDB, SQLite, PostgreSQL, MongoDB, Redis, and more.

🧩

Plugin Architecture

Extend with plugins: encryption, sync, audit, backup, streaming, geospatial, auth, and more. Compose functionality.

📊

Advanced Indexing

B-tree, hash, geospatial, and full-text indexes. Automatic index selection and query optimization.

🌐

Browser Compatible

Runs natively in browsers with full crypto support. IndexedDB, LocalStorage, and Memory adapters included.

15+ adapters. One API.

Choose the right storage for every environment — all with the same NebulaDB interface.

Write once, run everywhere

Same API across all environments. No lock-in. No vendor-specific code.

Edge-ready in seconds

NebulaDB adapters abstract away the storage layer so your database code stays the same whether you're running in the browser, on Node.js, or at the edge.

  • Zero-config adapter swapping
  • Hybrid mode: local + remote sync
  • TypeScript autocomplete everywhere
  • Same query API across 15+ backends
  • Reactive subscriptions work everywhere
app.ts
import { createDb } from '@nebula-db/core';
import { MemoryAdapter } from '@nebula-db/adapter-memory';
import { CloudflareD1Adapter } from '@nebula-db/adapter-cloudflare-d1';
import { HybridAdapter } from '@nebula-db/adapter-hybrid';

// Development: in-memory
const devDb = createDb({ adapter: new MemoryAdapter() });

// Production edge: Cloudflare D1
const prodDb = createDb({
  adapter: new CloudflareD1Adapter({
    databaseId: env.D1_ID,
    accountId: env.CF_ACCOUNT,
    apiToken: env.CF_TOKEN
  })
});

// Hybrid: local SQLite + remote sync
const hybridDb = createDb({
  adapter: new HybridAdapter({
    local: new SQLiteAdapter('app.db'),
    remote: new CloudflareD1Adapter({...}),
    sync: { mode: 'read-through', ttl: 30000 }
  })
});

// Same API — any adapter
const users = hybridDb.collection('users');
await users.insert({ name: 'Alice', role: 'admin' });
const admins = await users.find({ role: 'admin' });

Everything you need

Comprehensive guides, API references, and examples to get you building fast.

Ready to build for the cloud?

Get started with NebulaDB v0.6.0 "Cumulus" — the database that runs everywhere.