본문 바로가기

Node.Js

[Node.js] 보안 관련 helmet 설치

반응형

https://www.npmjs.com/package/helmet

 

helmet

help secure Express/Connect apps with various HTTP headers. Latest version: 6.0.1, last published: 2 months ago. Start using helmet in your project by running `npm i helmet`. There are 3526 other projects in the npm registry using helmet.

www.npmjs.com

npm install helmet

const express = require("express");
const helmet = require("helmet");

const app = express();

app.use(helmet());
반응형