🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

nuxt-helmet

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-helmet

Helmet for nuxt

2.1.1
latest
Source
npm
Version published
Weekly downloads
7.3K
15.15%
Maintainers
1
Weekly downloads
 
Created
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

Setup

  • Add nuxt-helmet dependency with yarn or npm into your project
  • Add nuxt-helmet at the beginning of the modules section of nuxt.config.js
  • Configure it:
{
  modules: [
    'nuxt-helmet'
    //...other modules
 ],
 // helmet options
 // @see https://helmetjs.github.io/docs/
 helmet: {
    /*
    frameguard: false,
    ...
    */
 }
}

Note

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

Development

  • Clone this repository
  • Install dependencies using yarn install or npm install
  • Start development server using npm run dev

Sponsor

Buy Me A Coffee

License

MIT License

Copyright (c) Victor Perez vpjs@victor-perez.nl

FOSSA Status

Keywords

security

FAQs

Package last updated on 27 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts