A lightweight, embedded database designed specifically for the Macho framework. Version 0.1.14 is the latest stable release with minimal updates. It serves as a simple key-value store for Node.js applications, prioritizing ease of use over performance or scalability. Compared to alternatives like LevelDB or SQLite, it is tightly coupled to the Macho ecosystem and not recommended for standalone use.
npm install machobot-databaseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: creating a Database instance, setting and getting values, and using the open helper for simpler access.
Pass an options object with at least 'path' property: new Database({ path: './db' })Use await or .then() for all database operations.
Ensure only one process accesses the database at a time, or use a client-server database.
Simply call db.close() without await.
Ensure you are using ESM imports and that the database is open before calling methods.
Run 'npm install machobot-database' in your project directory.
No dependency data recorded yet.