pillarjs/cookies
Some data may be outdated — see provenance labels.
Signed and unsigned cookies based on Keygrip observed · 2026-09-25
Health v2 · maintenance only
84/100
- Activity 93
- Release rhythm 62
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5717
- days_rel: 42
- days_push: 42
- n_releases_24m: 1
Adoption not part of the score
1295 stars · 158 forks observed · 2026-09-25
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-09-25 · cafe57c5058e
- registry_npm: https://registry.npmjs.org/cookies · fetched 2026-08-29 · affad5dd8cc8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pillarjs/cookies | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="pillarjs/cookies")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem