A minimal key-value store built on top of SQLite, version 1.0.7. It exposes a simple async getter/setter API (set, get, size, run) and automatically creates a SQLite database file if one doesn't exist at the given path. This package is a lightweight wrapper around better-sqlite3, intended for small-scale projects where a full ORM is overkill. Last updated with no recent release cadence; likely a personal utility.
npm install webadnan-npm-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates key-value set/get, size query, and raw SQL execution using async/await.
Use try-catch around every async call and check for null returns.
Convert values to strings (e.g., JSON.stringify) before storing and parse on retrieval.
Check package.json license and author before use.
Consider better-sqlite3 directly or a maintained wrapper like sqlite3 or sequelize.
Run: npm install better-sqlite3
Use: const db = new Sqlite();
Instantiate with new: const db = new Sqlite();
Run: npm install webadnan-npm-sqlite