nopy
KeePass TypeScript Library
A small TypeScript library for working with KeePass .kdbx databases.
Status
This branch is a fresh start.
The runtime implementation is being rebuilt in TypeScript, and pykeepass is used only as a compatibility reference during development.
Usage
import { openKeePassDatabase } from "./src/keepass";
const db = openKeePassDatabase("example.kdbx", {
password: "secret",
});
const entries = await db.listEntries();
console.log(entries);
API
openKeePassDatabase(path, options)listEntries()findEntries(query)listGroups()createEntry(entry)createGroup(group)save()close()
Notes
passwordis required when opening a database.keyFileis reserved in the public types.- The current codebase is intentionally minimal while the native KDBX implementation is rebuilt.
- Fixtures and compatibility tests can be added or refined as the format implementation grows.
Description
Languages
TypeScript
77.4%
Python
18.4%
Shell
4.2%