Dubnium is a powerful local database for Node.js (v4.2.0, latest stable). It provides a simple API to create, read, update, and delete records stored as files on disk. Designed for small to medium projects where a full database server is unnecessary. Supports both CommonJS and ECMAScript modules. Active development on GitHub with regular releases. Key differentiator: lightweight zero-dependency solution with synchronous and async operations.
npm install dubniumVerified import paths — ran on the pinned version, not inferred.
Initialize a local database, create a record, read it, modify, and delete.
Always start with '.': new Dubnium('dir', '.json')Use db.delete('tag') directly.Wrap in try/catch or check existence first with db.has('tag') if available.Ensure parent directory exists and is writable.
Use `import Dubnium from 'dubnium'` (no curly braces).
Create directory manually or ensure write permissions.
Check if record exists before calling delete, or use `db.delete('tag')` directly.No dependency data recorded yet.