Express 5 · Middleware
Set security headers
Add common protective HTTP headers.
npm install helmet
import helmet from "helmet";
app.use(helmet());
Official Express 5 documentation
Express 5 · Middleware
Add common protective HTTP headers.
npm install helmet
import helmet from "helmet";
app.use(helmet());
Official Express 5 documentation
Was this page helpful?