A bedrock module that enables express session storage via MongoDB. It integrates with the bedrock framework to persist session data in MongoDB, supporting Express.js session middleware. The current stable version 4.3.1 requires peer dependencies bedrock ^4.5.0, bedrock-express ^6.4.1, and bedrock-mongodb ^8.5.0. Compared to alternatives like connect-mongo, this module is tightly coupled to the bedrock ecosystem and follows bedrock's configuration patterns.
npm install bedrock-session-mongodbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Quickstart showing how to require the module to enable MongoDB session storage with bedrock and Express.
Upgrade bedrock to ^4.5.0 and bedrock-mongodb to ^8.5.0
Monitor migration guide when upgrading major versions.
Ensure require order: bedrock, bedrock-server, bedrock-express, then this module.
Use bedrock configuration system to set MongoDB connection options.
Run 'npm install bedrock-session-mongodb'
Run 'npm install bedrock@^4.5.0'
Ensure bedrock is required and version ^4.5.0.