sharemd.sh 7fcIPzQh · v1

pixeldb

A tiny, embeddable key-value store for developers who don't want to think about databases.

npm license

PixelDB stores everything in a single file, supports atomic writes, and has zero runtime dependencies. Perfect for CLI tools, prototypes, and "I just need to remember a few things" use cases.

Install

npm install pixeldb

Usage

import { open } from "pixeldb";

const db = await open("./mydata.pxl");

await db.set("user:42", { name: "Ada", role: "admin" });
const ada = await db.get("user:42");

await db.delete("user:42");
await db.close();

Why PixelDB?

Roadmap

License

MIT