{
 "kind": "tool",
 "slug": "helmet",
 "path": "tools/helmet/",
 "name": "Helmet",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "Express middleware that sets HTTP security headers to prevent vulnerabilities.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install helmet"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/helmetjs/helmet"
  },
  {
   "label": "Website",
   "href": "https://helmet.js.org/"
  }
 ],
 "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/helmetjs/helmet"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "",
   "src": "https://github.com/helmetjs/helmet"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "93 projects",
   "status": "info",
   "sub": "#9 of 141 in its category",
   "note": "Dependency in 93 public GitHub projects set up for AI coding agents that we scanned (1.5%).",
   "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 Helmet does",
   "parts": [
    {
     "t": "prose",
     "text": "Express middleware that sets HTTP security headers to prevent vulnerabilities."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Helmet popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "72",
       "of": "/ 100",
       "l": "Gid Score, #316 overall"
      },
      {
       "n": "23.6M",
       "l": "downloads a week, npm"
      },
      {
       "n": "10.7K",
       "l": "GitHub stars"
      },
      {
       "n": "93",
       "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 Helmet is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Helmet is a dependency in 93 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.9% of the 4,867 JavaScript/TypeScript ones), #9 of 141 in auth and security libraries.",
      "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 220; those are left out of every share on this page.",
      "The most used alternative in our scan is jsonwebtoken (149 projects).",
      "Projects that use it most often also use Express (93.5%), dotenv (82.8%), cors (78.5%).",
      "It is more common in projects set up for Devin Desktop (8.6%) than for GitHub Copilot (1.4%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "58 projects, 1.8%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "46 projects, 1.9%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "42 projects, 1.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "24 projects, 8.6%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "9 projects, 1.9%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "7 projects, 5.0%",
       "v": "Kiro",
       "path": "agents/kiro/"
      },
      {
       "l": "6 projects, 1.7%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "5 projects, 4.5%",
       "v": "Roo Code",
       "path": "agents/roo-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 93.5% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 82.8% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 78.5% of its projects",
       "v": "cors",
       "path": "tools/cors/"
      },
      {
       "l": "In 57.0% of its projects",
       "v": "jsonwebtoken",
       "path": "tools/jsonwebtoken/"
      },
      {
       "l": "In 50.5% of its projects",
       "v": "express-rate-limit",
       "path": "tools/express-rate-limit/"
      },
      {
       "l": "In 40.9% of its projects",
       "v": "SuperTest",
       "path": "tools/supertest/"
      },
      {
       "l": "In 40.9% of its projects",
       "v": "uuid",
       "path": "tools/uuid/"
      },
      {
       "l": "In 38.7% of its projects",
       "v": "Jest",
       "path": "tools/jest/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Helmet",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/sponsors/EvanHahn",
        "1 GitHub sponsors"
       ]
      },
      {
       "title": "More in Auth and security libraries",
       "path": "tools/auth-security/",
       "items": [
        {
         "text": "bcryptjs",
         "path": "tools/bcryptjs/"
        },
        {
         "text": "NextAuth.js",
         "path": "tools/next-auth/"
        },
        {
         "text": "cryptography",
         "path": "tools/cryptography/"
        },
        {
         "text": "PyJWT",
         "path": "tools/pyjwt/"
        },
        {
         "text": "Better Auth",
         "path": "tools/better-auth/"
        },
        {
         "text": "DOMPurify",
         "path": "tools/dompurify/"
        },
        {
         "text": "bcrypt (JavaScript)",
         "path": "tools/bcrypt-npm/"
        },
        {
         "text": "Clerk",
         "path": "tools/clerk/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Helmet",
       "me": true,
       "facts": [
        "MIT",
        "Gid 72",
        "23.6M/wk"
       ]
      },
      {
       "name": "jsonwebtoken",
       "why": "Create, verify and decode JSON Web Tokens for authentication and secure data transmission.",
       "path": "tools/jsonwebtoken/",
       "facts": [
        "MIT",
        "Gid 79",
        "84.5M/wk"
       ]
      },
      {
       "name": "jose",
       "why": "Comprehensive JWT and JWK handling for Node.js and web runtimes.",
       "path": "tools/jose/",
       "facts": [
        "MIT",
        "Gid 75",
        "244M/wk"
       ]
      },
      {
       "name": "Passport.js",
       "why": "Modular authentication middleware for Node.js supporting OAuth, JWT and local strategies.",
       "path": "tools/passport/",
       "facts": [
        "MIT",
        "Gid 69",
        "10.5M/wk"
       ]
      }
     ],
     "more": "Compare Helmet with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install helmet"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Helmet yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm helmet"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "71.7"
  ],
  [
   "Rank in category",
   "#9 of 141"
  ],
  [
   "GitHub",
   "helmetjs/helmet"
  ],
  [
   "Last change",
   "Nov 23, 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/helmetjs.png"
}