helmetjs/helmet
Help secure Express apps with various HTTP headers observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 95
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5327
- days_rel: n/a
- days_push: 33
- n_releases_24m: 0
Adoption not part of the score
10729 stars · 412 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Helmet is a Node.js middleware library that secures Express and Connect apps by setting HTTP response headers such as Content-Security-Policy and Strict-Transport-Security. It sets 13 security headers by default, each of which can be disabled or individually configured.
Use cases
- secure an express app with http security headers
- set content-security-policy in node.js
- add strict-transport-security header
- prevent clickjacking with x-frame-options
- harden http response headers in node.js
- mitigate xss attacks via csp headers
When to choose
- you run an Express or Connect app and want quick, low-maintenance security headers
- you need configurable CSP directives with sensible defaults
- you want a one-line middleware covering 13 security headers
When to avoid
- you need application-level security like authentication, input validation, or rate limiting
- your app is not Node.js-based
- you need a web application firewall or runtime threat detection
Facets
library · maturity stable
security middleware http-server security web-development backend express http-headers content-security-policy hsts connect nodejs web-server
3 sources
- readme: https://github.com/helmetjs/helmet · fetched 2026-08-28 · c468c90f88b1
- homepage: https://helmet.js.org/ · fetched 2026-08-29 · 024ec7ab7ab2
- registry_npm: https://registry.npmjs.org/helmet · fetched 2026-08-29 · d1d03c91edc1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| helmetjs/helmet | main | 75 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem