Parse Cookie header and populate req.cookies with an object keyed by the cookie names. Optionally you may enable signed cookie support by passing a secret string, which assigns req.secret so it may be used by other middleware. A middleware for Express.js that parses cookies from HTTP requests and makes them accessible in req.cookies.
Features
- Parses cookies from incoming HTTP requests
- Supports signed cookies for added security
- Works seamlessly with Express.js applications
- Handles JSON and URL-encoded cookie values
- Allows custom secret keys for secure cookie management
- Lightweight and widely used in web applications
Categories
HTTP ClientsLicense
MIT LicenseFollow Cookie Parser
Other Useful Business Software
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Cookie Parser!