A high-performance, type-safe database built on top of Bun's APIs. OptimaDB combines the speed of in-memory storage with the flexibility of multiple storage modes, making it perfect for modern applications that demand both performance and reliability.
No servers, no HTTP overhead — query your database directly from your
code, just pure data access.
Define schemas once and get compile-time safety for queries, migrations, and CRUD operations — eliminating runtime surprises.
Minimal config, clear syntax, simple APIeverything works out of the box.
Lightweight and self-contained. No external dependencies required, ensuring minimal overhead and fast startup times.
Powered by Bun’s ultra-fast JavaScript runtime, OptimaDB delivers
low-latency queries and optimized performance.
Run in Memory, Disk, or Hybrid mode to balance speed and persistence depending on your application’s needs.
Migrations are handled automatically — no conflicts, no scripts. Optima just takes care of it.
Designed for TypeScript with auto-completions, intuitive APIs, and batteries-included utilities, Types and much more.
With support for JSON, arrays, and much more, OptimaDB makes handling complex data effortless.