{
 "kind": "tool",
 "slug": "cookie-parser",
 "path": "tools/cookie-parser/",
 "name": "cookie-parser",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "HTTP servers and APIs",
   "tools/http-servers/"
  ]
 ],
 "lead": "Express middleware for parsing and handling HTTP request cookies.",
 "chips": [
  {
   "label": "HTTP servers and APIs",
   "path": "tools/http-servers/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install cookie-parser"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/expressjs/cookie-parser"
  },
  {
   "label": "Website",
   "href": "https://github.com/expressjs/cookie-parser#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/expressjs/cookie-parser"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Jun 3, 2026",
   "note": "Latest GitHub release Oct 8, 2024. ",
   "src": "https://github.com/expressjs/cookie-parser"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "44 projects",
   "status": "info",
   "sub": "#13 of 102 in its category",
   "note": "Dependency in 44 public GitHub projects set up for AI coding agents that we scanned (0.7%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What cookie-parser does",
   "parts": [
    {
     "t": "prose",
     "text": "Express middleware for parsing and handling HTTP request cookies."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "cookie-parser popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "61",
       "of": "/ 100",
       "l": "Gid Score, #954 overall"
      },
      {
       "n": "16.1M",
       "l": "downloads a week, npm"
      },
      {
       "n": "2,033",
       "l": "GitHub stars"
      },
      {
       "n": "44",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How cookie-parser is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "cookie-parser is a dependency in 44 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.9% of the 4,867 JavaScript/TypeScript ones), #13 of 102 in http servers and apis.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 124; those are left out of every share on this page.",
      "The most used alternative in our scan is cors (196 projects).",
      "Projects that use it most often also use Express (84.1%), cors (70.5%), dotenv (68.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "34 projects, 1.0%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "24 projects, 0.8%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "12 projects, 0.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "6 projects, 2.2%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 84.1% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 70.5% of its projects",
       "v": "cors",
       "path": "tools/cors/"
      },
      {
       "l": "In 68.2% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 65.9% of its projects",
       "v": "express-rate-limit",
       "path": "tools/express-rate-limit/"
      },
      {
       "l": "In 52.3% of its projects",
       "v": "jsonwebtoken",
       "path": "tools/jsonwebtoken/"
      },
      {
       "l": "In 52.3% of its projects",
       "v": "Helmet",
       "path": "tools/helmet/"
      },
      {
       "l": "In 40.9% of its projects",
       "v": "pg",
       "path": "tools/pg/"
      },
      {
       "l": "In 38.6% of its projects",
       "v": "Model Context Protocol SDK (JavaScript)",
       "path": "tools/modelcontextprotocol/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about cookie-parser",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Open Collective: https://opencollective.com/express"
       ]
      },
      {
       "title": "More in HTTP servers and APIs",
       "path": "tools/http-servers/",
       "items": [
        {
         "text": "Uvicorn",
         "path": "tools/uvicorn/"
        },
        {
         "text": "FastAPI",
         "path": "tools/fastapi/"
        },
        {
         "text": "Express",
         "path": "tools/express/"
        },
        {
         "text": "python-multipart",
         "path": "tools/python-multipart/"
        },
        {
         "text": "Hono",
         "path": "tools/hono/"
        },
        {
         "text": "Flask",
         "path": "tools/flask/"
        },
        {
         "text": "Starlette",
         "path": "tools/starlette/"
        },
        {
         "text": "express-rate-limit",
         "path": "tools/express-rate-limit/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "cookie-parser",
       "me": true,
       "facts": [
        "MIT",
        "Gid 61",
        "16.1M/wk"
       ]
      },
      {
       "name": "cors",
       "why": "Express/Node.js middleware for handling Cross-Origin Resource Sharing.",
       "path": "tools/cors/",
       "facts": [
        "MIT",
        "Gid 77",
        "131M/wk"
       ]
      },
      {
       "name": "multer",
       "why": "Express middleware for handling file uploads in multipart/form-data requests.",
       "path": "tools/multer/",
       "facts": [
        "MIT",
        "Gid 73",
        "31.4M/wk"
       ]
      }
     ],
     "more": "Compare cookie-parser with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install cookie-parser"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for cookie-parser yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm cookie-parser"
  ],
  [
   "Category",
   "HTTP servers and APIs"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "60.9"
  ],
  [
   "Rank in category",
   "#13 of 102"
  ],
  [
   "GitHub",
   "expressjs/cookie-parser"
  ],
  [
   "Last change",
   "Jun 3, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/expressjs.png"
}