{"library":"connect-mongo","type":"library","category":null,"description":"MongoDB session store for Express and Connect written in TypeScript. Current stable version is 6.0.0, released with breaking changes from v4 rewritten in TypeScript. Supports Express 4.x/5.0, Connect 3.x, and MongoDB Node driver 5.x-7.x, with CI testing across Node 20, 22, and 24. Key differentiator is seamless integration with express-session providing MongoDB-backed session persistence, lazy session updates, transparent encryption, and configurable auto-removal of expired sessions. Requires express-session and mongodb as peer dependencies.","language":"javascript","status":"active","version":"6.0.0","tags":["javascript","connect","mongo","mongodb","session","express","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install connect-mongo","imports":["import MongoStore from 'connect-mongo'","MongoStore.create(options)"]},{"cmd":"yarn add connect-mongo","imports":[]},{"cmd":"pnpm add connect-mongo","imports":[]}],"homepage":"https://github.com/jdesboeufs/connect-mongo#readme","github":"https://github.com/jdesboeufs/connect-mongo","docs":null,"changelog":null,"pypi":null,"npm":"connect-mongo","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}