A SQLite store for the express-rate-limit middleware, enabling persistent rate limiting across server restarts. Currently at version 0.0.2 (stable, early release). Requires express-rate-limit >= 6 and Node.js >= 22. Pure ESM package. Unlike in-memory stores, this store uses SQLite on disk or in-memory, offering persistence and shared state between processes. Suitable for single-server deployments where Redis is overkill.
npm install rate-limit-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a rate limiter with a SQLite store using an in-memory database.
Upgrade Node.js to version 22 or later.
Use type: module in package.json or use .mjs extension.
N/A
Install express-rate-limit@6 or later.
Always set a unique prefix if sharing database across applications.
Use import syntax and ensure project is ESM (type: module or .mjs).
Ensure the database location exists; the store creates tables on instantiation.
npm install express-rate-limit@6
Use import { SqliteStore } from 'rate-limit-sqlite'