nuxt-hsts-module

Provide basic authentication to your Nuxt.js application
1,341 1
Install
npm install nuxt-hsts-module
Latest Version:0.0.1
License:MIT
Last Updated:Mar 10, 2019
Links: GitHub  ·  npm
Maintainer: potato4d

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

Related Packages

nuxt-api-shield

Nuxt API Shield - Rate Limiting

71,335 55
@radya/nuxt-dompurify

A Nuxt 3 module that integrates DOMPurify for sanitizing HTML content and protec...

28,438 8
purrrify

A Nuxt module that integrates sanitize-html for sanitizing HTML content and prot...

2,066 4
@nuxtjs/dayjs

The best way for use Day.js easily in your Nuxt.js project.

404,248
@privyid/nuxt-csrf

Module CSRF for NUXT

26,088 9

Version History

Version Released License
0.0.1 MIT