SQLite Alternative for JavaScript — Embedded NoSQL for Node.js for local-first, Electron, CLI and prototyping. Zero native deps, no compilation.
gyp`, no `electron:rebuild`
style queries** — `{ age: { $gt: 25 } }`, 19 operators + `hint()` + `findByIds()`
ACID transactions** — `savepoint`/`rollbackTo`/`WAL`, crashes recover via `Transaction.recoverTransactions()`
Aggregation** — 60+ stages, `$lookup` joins, `OperatorRegistry` custom ops
write, auto `IndexCache`
** GUI `27018` · TCP `27019` `AxioDBCloud` · MCP `27020` Docker:only
npm install axiodb
# Node.js ≥20import { AxioDB } from 'axiodb';
// Initialize database
const db = new AxioDB({
path: './data',
encryption: true,
encryptionKey: 'your-secret-key'
});
// Insert documents
await db.collection('users').insert({
name: 'John Doe',
email: 'john@example.com',
age: 30
});
// Query with MongoDB-style syntax
const users = await db.collection('users').find({
age: { $gte: 18 }
});