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

Project Samples

Project Activity

See All Activity >

Categories

HTTP Clients

License

MIT License

Follow Cookie Parser

Cookie Parser Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Cookie Parser!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript HTTP Clients

Registered

2025-02-12