Embedded NoSQL database for Node.js — pure JavaScript SQLite alternative with MongoDB-style queries. Zero native dependencies, no node-gyp, works in Electron & CLI tools. 15,000+ npm downloads per year.
Familiar query syntax with complex operations
Built-in encryption for sensitive data
Pure JavaScript with no native modules
Async operations for high performance
npm install axiodb
# Or using Yarn
yarn add axiodbconst { AxioDB } = require("axiodb");
const db = new AxioDB();
const userDB = await db.createDB("MyDB");
// Create a basic collection
const userCollection = await userDB.createCollection("Users");
// Create an encrypted collection with a custom key
const secureCollection = await userDB.createCollection(
"SecureUsers",
true,
"mySecretKey",
);
await userCollection.insert({
name: "John Doe",
email: "john.doe@example.com",
age: 30,
});
const results = await userCollection
.query({ age: { $gt: 25 } })
.Limit(10)
.Sort({ age: 1 })
.exec();
console.log(results.data.documents);