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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start 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