Skip to main content

Liorandb

Embedded, file-based database for NodeJs.

import { LioranManager } from "@liorandb/core";

const manager = new LioranManager({ rootPath: "./data" });
const db = await manager.db("app");
const users = db.collection<{ email: string }>("users");

await users.insertOne({ email: "dev@lioran.dev" });
console.log(await users.findOne({ email: "dev@lioran.dev" }));

await manager.close();
Easy to Use

Embedded by default

Use @liorandb/core as a file-based database inside Node.js scripts and apps — no server required.

Focus on What Matters

Optional server + CLI

Install @liorandb/db to run ldb-serve, manage users with ldb-users, and use the interactive shell ldb-cli.

Powered by React

TypeScript-first driver

Use @liorandb/driver to talk to a server over HTTP with prebuilt types and a small API surface.