SQLite-backed session store for express-session, written in TypeScript. Version 2.1.1 is the current stable release. It requires the `sqlite3` package (or compatible driver) as a peer dependency. The factory pattern allows integration with any express-session-compatible middleware. Key differentiator: it provides a simple, well-tested SQLite solution with configurable TTL, cleanup interval, and session ID prefix, targeting Node.js environments where SQLite is preferred over memory or external databases.
npm install express-session-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up an express-session with an in-memory SQLite store using express-session-sqlite.
Call sqliteStoreFactory(session) instead of passing options directly.
Pass sqlite3.Database as driver, not new sqlite3.Database().
Use const sqliteStoreFactory = require('express-session-sqlite').default; or use ESM import.Correct: const SqliteStore = sqliteStoreFactory(session); new SqliteStore({...});Run: npm install sqlite3
Pass sqlite3.Database (class) not new sqlite3.Database() (instance).