jaredhanson/connect-flash
Flash message middleware for Connect and Express. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5283
- days_rel: n/a
- days_push: 827
- n_releases_24m: 0
Adoption not part of the score
1236 stars · 173 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
connect-flash is a middleware for Connect and Express that provides flash messages stored in the session and cleared after display. It restores the flash functionality removed in Express 3.x and works with any middleware-compatible framework.
Use cases
- show success or error messages after a redirect in Express
- display one-time notifications to users across page loads
- add flash message support to Express 3.x apps
- show form validation feedback after POST-redirect-get
- display login failure messages with Passport
When to choose
- you use Express 3.x or Connect and need session-based flash messages
- you want messages that persist through a redirect and disappear after display
When to avoid
- you use Express 4/5, where req.flash is often replaced by other session-based flash packages
- your app has no session middleware and you don't want to add it
- you need client-side or non-session notifications
Facets
library · maturity maintenance
middleware web-framework state-management web-development backend developer-tools flash-messages express connect session-messages notifications nodejs web-server
2 sources
- readme: https://github.com/jaredhanson/connect-flash · fetched 2026-08-28 · f19f6ff37342
- registry_npm: https://registry.npmjs.org/connect-flash · fetched 2026-08-29 · 155c7a48feb1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jaredhanson/connect-flash | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="jaredhanson/connect-flash")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem