A lightweight Node.js module for SQLite database operations supporting both synchronous and asynchronous execution. Current stable version is 0.3.9 (last updated 2016). It provides simple wrappers for connect, run, insert, update, and close operations, with a callback-based async API and synchronous variants. Key differentiator is the mixed sync/async support, but it is outdated and lacks modern features like promises, ESM, or TypeScript definitions. Not recommended for new projects.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
No ESM or named export; must use CommonJS require. No default export for ES modules.
connect does not return a connection object; it modifies the module's internal state.
run can be used synchronously without callback, but async usage requires callback.
Basic setup: connecting to a database, creating a table, inserting a row (async), and querying all rows (sync).
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.