Zero Dependencies
No runtime dependencies. Uses built-in crypto.randomUUID() and Date.now(). Lightweight and fast.
Zero Dependencies
No runtime dependencies. Uses built-in crypto.randomUUID() and Date.now(). Lightweight and fast.
TypeScript-First
Full type safety with generics. Doc<T>, Where<T>, typed event payloads, and IDE autocompletion out of the box.
Query Engine
Powerful where clauses with operators: eq, gt, lt, includes, startsWith, match, in, and more. RegExp support at top level.
Hash Indexes
Optional hash indexes for O(1) equality lookups. Accelerates eq, primitive equality, and in operators automatically.
Real-Time Listeners
Collection-level events (create, update, remove, populate, syncError) and per-document listeners with O(1) unsubscribe.
Backend Sync
Optimistic writes with automatic revert on sync failure. Plug in your own create/update/remove sync functions.