expressjs/cookie-parser
Parse HTTP request cookies observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 85
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4582
- days_rel: 694
- days_push: 92
- n_releases_24m: 1
Adoption not part of the score
2028 stars · 232 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Express/Node.js middleware that parses the HTTP Cookie header and populates req.cookies with name-value pairs. It also supports signed cookies via a secret and JSON cookies with a j: prefix.
Use cases
- parse cookies from http requests in express
- read session cookies in nodejs
- support signed cookies in express middleware
- parse json cookies in node
- access request cookies as an object
When to choose
- you use Express or Connect and need cookie parsing middleware
- you need signed cookie validation with a secret
- you want a tiny, battle-tested cookie parser for Node.js HTTP servers
When to avoid
- you need to set cookies as well as parse them (use a cookie library or framework helpers)
- you are not on Node.js
- you need cookie-based session storage itself rather than parsing
Facets
library · maturity stable
middleware http-server serialization web-development backend apis cookies express signed-cookies http-headers nodejs web-server
2 sources
- readme: https://github.com/expressjs/cookie-parser · fetched 2026-08-28 · 2f2050cd71e9
- registry_npm: https://registry.npmjs.org/cookie-parser · fetched 2026-08-29 · e5216c3536b2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| expressjs/cookie-parser | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="expressjs/cookie-parser")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem