jshttp/cookie
HTTP server cookie parsing and serialization observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 91
- Release rhythm 90
- 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: 3
- age_days: 5210
- days_rel: 64
- days_push: 56
- n_releases_24m: 10
Adoption not part of the score
1532 stars · 202 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small Node.js library for parsing and serializing HTTP Cookie and Set-Cookie headers. It provides functions to convert cookie header strings into objects and back, following RFC 6265.
Use cases
- parse cookie header from incoming http requests
- serialize set-cookie headers for session cookies
- read and write cookies in an express or node http server
- decode url-encoded cookie values
- build session management in a nodejs backend
When to choose
- you need a minimal, dependency-free cookie parser/serializer for a Node.js HTTP server
- you want RFC 6265 compliant handling of Cookie and Set-Cookie headers
- you are building middleware or a framework that needs cookie support
When to avoid
- you need browser-side cookie manipulation (use document.cookie helpers instead)
- you want a full session management solution with stores and signing
- you are not working in a JavaScript/Node.js environment
Facets
library · maturity stable
serialization http-server middleware web-development backend apis cookies http-headers rfc6265 parser nodejs javascript
2 sources
- readme: https://github.com/jshttp/cookie · fetched 2026-08-28 · 833a5be04382
- registry_npm: https://registry.npmjs.org/cookie · fetched 2026-08-29 · 40f470fffa74
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jshttp/cookie | main | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem