Awesome Open Source
Awesome Open Source

Helmet for nuxt

npm version npm downloads Circle CI Codecov Dependencies Standard JS Buy Me A Coffee FOSSA Status

Easy Helmet integration with Nuxt.js

Helmet helps you secure your Nuxt apps by setting various HTTP headers. By default Helmet will set the X-DNS-Prefetch-Control, X-Frame-Options, Strict-Transport-Security, X-Download-Options, Expect-Ct, Referrer-Policy and X-Content-Type-Options headers. Beside that this module will also set by default the X-Permitted-Cross-Domain-Policies header.

📖 Release Notes | 📖 Helmet Docs


  1. Add nuxt-helmet dependency with yarn or npm into your project
  2. Add nuxt-helmet at the beginning of the modules section of nuxt.config.js
  3. Configure it:
  modules: [
    //...other modules
 // helmet options
 // @see
 helmet: {
    frameguard: false,


Use csp property provided by Nuxt.js v2.11.0 for Content Security Policy (CSP) | 📖 Nuxt Docs


  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev


Buy Me A Coffee


MIT License

Copyright (c) Victor Perez [email protected]

FOSSA Status

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (69,700) 
vue (4,194) 
vuejs (1,101) 
nuxt (226) 
nuxtjs (129) 
nuxt-module (76)