HTTP Cookie Parsing Middleware

JSON →
library 1.4.7 ·javascript
verified May 27, 2026

`cookie-parser` is an Express.js middleware designed to parse HTTP request cookies, making their values easily accessible through `req.cookies` and `req.signedCookies` properties. The current stable version is 1.4.7, indicating a mature and stable codebase with infrequent but consistent releases primarily focused on dependency updates to ensure compatibility and performance. A key differentiating feature is its robust support for both signed cookies, which helps mitigate tampering, and "JSON cookies," which automatically deserialize JSON-prefixed cookie values. This package provides an essential and convenient layer for web applications built with Express that need to interact with client-side cookies, offering a structured approach to cookie management and enhanced security through optional signing capabilities. It does not handle setting cookies, which is typically done via `res.cookie()` in Express.

total hits 40
actors 8 distinct systems
last hit 13h ago human
ByteDance
7
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
Search engines
1
Humans
13

top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇩🇪 Germany · 🇨🇦 Canada