Question · NestJS course · Module 9: Deployment and Infrastructure

The Role of Helmet.js in NestJS

Helmet.js in a NestJS application is used for:

Answer options

  • HTTP response compression
  • Setting HTTP security headers (CSP, HSTS, X-Frame-Options)
  • Generating SSL certificates
  • Routing requests to microservices

You can check the correct answer by solving this task in the CodeWorlds game.