jdesboeufs/connect-mongo
MongoDB session store for Express observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 55
- Release rhythm 27
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5657
- days_rel: 276
- days_push: 272
- n_releases_24m: 1
Adoption not part of the score
1972 stars · 337 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
connect-mongo is a MongoDB-backed session store for Connect and Express, written in TypeScript. It persists server-side sessions in MongoDB with support for automatic expiration cleanup, lazy session updates, and transparent session data encryption.
Use cases
- store express sessions in mongodb
- persist user sessions across server restarts
- share sessions across multiple node.js server instances
- automatically clean up expired sessions
- encrypt session data at rest in mongodb
- replace in-memory session store with a durable one
When to choose
- you run an Express or Connect app and need durable, scalable session storage
- you deploy multiple server instances and need a shared session store
- you want MongoDB TTL indexes to handle session expiration automatically
- you need encrypted session payloads
When to avoid
- you use a framework other than Express/Connect
- you prefer Redis or another session store backend
- your app is a small single-instance prototype where in-memory sessions suffice
- you are not using MongoDB in your stack
Facets
library · maturity active
middleware caching database-driver security web-development backend databases developer-tools session-store express connect mongodb typescript session-management nodejs web-server
2 sources
- readme: https://github.com/jdesboeufs/connect-mongo · fetched 2026-08-28 · 08465d607b77
- registry_npm: https://registry.npmjs.org/connect-mongo · fetched 2026-08-29 · fd1a853b795f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jdesboeufs/connect-mongo | main | 54 |
For agents
markdown · JSON · MCP: product_card(name="jdesboeufs/connect-mongo")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem