cookie-parser
Express middleware for parsing and handling HTTP request cookies.
HTTP servers and APIs npm MIT
Used in agent projects
59
0.5% of 12,697 public repos built with AI coding agents
Rank in http servers and apis
#16 of 30
by use in those projects
Downloads
11.7M
npm, last 7 days, cookie-parser
GitHub stars
2,030
last push Jun 3, 2026
How cookie-parser is used
cookie-parser is a dependency in 59 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.5%), #16 of 30 in http servers and apis. The most used alternative there is Express. Projects that use it most often also use dotenv (83.1%), Express (81.4%), jsonwebtoken (57.6%).
Often used with cookie-parser
| dotenv | 83.1% of cookie-parser projects · 5.3× more than average |
|---|---|
| Express | 81.4% of cookie-parser projects · 12.6× more than average |
| jsonwebtoken | 57.6% of cookie-parser projects · 30.4× more than average |
| cors | 52.5% of cookie-parser projects · 15.8× more than average |
| ts-node | 47.5% of cookie-parser projects · 7.0× more than average |
| Helmet | 47.5% of cookie-parser projects · 48.2× more than average |
| Axios | 44.1% of cookie-parser projects · 4.4× more than average |
| pg | 40.7% of cookie-parser projects · 13.9× more than average |
By coding agent
| Claude Code | 0.8% of projects set up for it |
|---|---|
| GitHub Copilot | 0.9% of projects set up for it |
| Cursor | 0.5% of projects set up for it |
| Devin Desktop | 2.2% of projects set up for it |
Share of public repos configured for each agent that list cookie-parser as a dependency.
Install
| Package | npm install cookie-parser |
|---|---|
| Main stacks | TypeScript / JavaScript (51), Next.js (4), Python (3), Other (1) |
| Example projects | 5pyj29s7cm-tech/LumiCore, alkem-io/server, Hive-Academy/ptah-extension, Giveth/notification-center, gopaljilab/Clinical-Insight-Engine |
Alternatives to cookie-parser
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Express npm Fast, unopinionated minimalist web framework for Node.js. |
822 (6.5%) | 142M | 69.6K | MIT |
| Uvicorn pypi Lightning-fast ASGI server for running async Python web applications. |
544 (4.3%) | 13M | 11K | — |
| FastAPI pypi High-performance Python web framework with automatic API docs and async support. |
537 (4.2%) | 107M | 103K | — |
| cors npm Express/Node.js middleware for handling Cross-Origin Resource Sharing. |
422 (3.3%) | 86.8M | 6,195 | MIT |
| python-multipart pypi Streaming multipart parser for handling file uploads in Python web frameworks. |
217 (1.7%) | 92.8M | 536 | — |
| Flask pypi Lightweight Python web framework for building web applications and APIs. |
174 (1.4%) | 40.9M | 75K | — |
| Hono npm Ultrafast web framework for edge runtimes built on Web Standards. |
136 (1.1%) | 73.9M | 32.5K | MIT |
| express-rate-limit npm Express middleware for rate limiting API requests by IP address. |
105 (0.8%) | 57.6M | 3,311 | MIT |