vvo/iron-session
🛠 Secure, stateless, and cookie-based session library for Next.js or any JavaScript framework observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 78
- Release rhythm 8
- Longevity 100
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: 2372
- days_rel: n/a
- days_push: 132
- n_releases_24m: 0
Adoption not part of the score
4138 stars · 255 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
iron-session is a secure, stateless, cookie-based session library for JavaScript, storing session data in signed and encrypted cookies decoded server-side without any network or database calls. It works with Next.js, Express, Node.js, and serverless environments.
Use cases
- manage user sessions in a Next.js app
- store session data in encrypted cookies without a database
- add stateless authentication sessions to an Express server
- implement login sessions in serverless functions
- replace JWT-based session handling with encrypted cookies
- handle sessions in Next.js app router with server actions
When to choose
- you want stateless sessions with no database or network overhead
- you're building with Next.js, Express, or Node.js and need cookie-based sessions
- you deploy to serverless platforms where server-side session storage is awkward
- you want the Rails-style encrypted cookie session approach in JavaScript
When to avoid
- you need to invalidate sessions server-side instantly or store large session payloads
- you require server-side session revocation or shared session state across services
- you need a full authentication solution with OAuth, MFA, or user management
Facets
library · maturity active
auth cryptography middleware web-development backend security serverless nextjs cookies session-management stateless express encryption authentication nodejs web-server javascript
3 sources
- readme: https://github.com/vvo/iron-session · fetched 2026-08-28 · 9e37fb8a5471
- homepage: https://get-iron-session.vercel.app · fetched 2026-08-29 · 9428fe76184e
- registry_npm: https://registry.npmjs.org/iron-session · fetched 2026-08-29 · 91dbd71c54ae
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vvo/iron-session | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="vvo/iron-session")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem