nuxt-hsts-module
Project archived: I recommend using nuxt-helmet instead. I'm using it.
Nuxt.js HTTP Strict Transport Security module
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
@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
Version History
| Version | Released | License |
|---|---|---|
| 0.0.1 | MIT |