SQLite and BSON database module for Node.js by InFlames. Version 5.1.1 provides a quick, simple API with functions like set, get, fetch, push, pull, add, sub, delete, deleteValue, deleteAll, and has. Supports both SQLite (.db) and BSON (.bson) backends, automatically creating database files. The package is primarily documented in Turkish. It ships TypeScript types. Release cadence is irregular. Alternatives like better-sqlite3 or lowdb offer more mature ecosystems, but inflames.db focuses on ease of use with a unified API similar to quick.db.
npm install inflames.dbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic set, get, push, add, and all operations using the SQLite adapter.
Use 'database' instead of 'database.db' or 'database.bson'.
Use CommonJS require(). If you must use ESM, wrap with createRequire.
Use db.has('key') before db.delete('key') if you need to verify deletion.Use db.get() instead of db.fetch().
Iterate over array: db.all().forEach(entry => console.log(entry.ID, entry.value)).
Replace `const db = require('inflames.db')` with `const db = require('inflames.db').sqlite('mydb')`.Run `npm install better-sqlite3` or install inflames.db with the SQLite adapter: the package should list it as a dependency, but if missing, install manually.
Ensure the script has write permissions to the directory. Use an absolute path if needed.