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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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