express-brute-mongo

JSON →
library 1.0.0 ·javascript maintenance
verified Jun 5, 2026

MongoDB store adapter for express-brute, version 1.0.0. This package provides a persistent store for rate-limiting data using MongoDB. It is designed to work with the express-brute middleware in Express.js applications. The adapter uses an asynchronous function to provide a MongoDB collection reference. A key differentiator is its reliance on MongoDB TTL indexes for automatic expiration of rate-limit data. The package is stable but relies on the deprecated `mongodb` Node.js driver v2/3 style callbacks, not the newer async/await pattern. Expect minimal updates; it is in maintenance mode as express-brute itself is not actively developed.