pillarjs/cookies
Signed and unsigned cookies based on Keygrip 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5668
- days_rel: n/a
- days_push: 91
- n_releases_24m: 0
Adoption not part of the score
1295 stars · 157 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js module for getting and setting HTTP(S) cookies, with optional signing to prevent tampering via Keygrip. It works with the built-in Node.js HTTP library or as Connect/Express middleware.
Use cases
- set and get http cookies in a node.js server
- sign cookies to prevent tampering
- use cookies as express middleware
- read cookies lazily in a node http handler
- rotate cookie signing keys
- secure httponly cookies by default
When to choose
- you need signed, tamper-proof cookies in Node.js without a full framework
- you want lightweight, lazy cookie parsing on raw Node.js HTTP
- you need Express/Connect middleware for cookie handling with key rotation
When to avoid
- you are not on Node.js
- you only need simple unsigned cookies and prefer built-in or framework-provided cookie parsing
- you need session storage or server-side session management rather than plain cookies
Facets
library · maturity stable
http-server middleware security auth web-development backend security cookies keygrip signed-cookies express-middleware connect-middleware nodejs web-server
2 sources
- readme: https://github.com/pillarjs/cookies · fetched 2026-08-28 · cafe57c5058e
- registry_npm: https://registry.npmjs.org/cookies · fetched 2026-08-29 · affad5dd8cc8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pillarjs/cookies | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="pillarjs/cookies")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem