nuxt-hsts-module

0.0.1 • Public • Published

Project archived: I recommend using nuxt-helmet instead. I'm using it.

Nuxt.js HTTP Strict Transport Security module

codecov code style: prettier

Add HTTP Strict Transport Security Header to your Nuxt Application.

https://www.npmjs.com/package/nuxt-hsts-module

Installation

$ yarn add nuxt-hsts-module # or npm install 

Usage

Edit your nuxt.config.js

module.exports = {
  // ...
  modules: [
    'nuxt-hsts-module'
  ],
  hsts: process.env.NODE_ENV === 'production'
  // ...
}

License

MIT

https://github.com/potato4d/nuxt-hsts-module/blob/master/LICENSE

Package Sidebar

Install

npm i nuxt-hsts-module

Weekly Downloads

39

Version

0.0.1

License

MIT

Unpacked Size

295 kB

Total Files

11

Last publish

Collaborators

  • potato4d