{"repo":"Baroshem/nuxt-security","free":true,"listed":false,"github":"https://github.com/Baroshem/nuxt-security","clone":"git clone https://github.com/Baroshem/nuxt-security.git","description":"🛡 Automatically configure your app to follow OWASP security patterns and principles by using HTTP Headers and Middleware","language":"TypeScript","stars":977,"topics":["module","nuxt","owasp","security","vue","basic-authentication","cors","rate-limiting","xss","csrf"],"license":"MIT","category":"security-tools","readme_excerpt":"[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions CI][github-actions-ci-src]][github-actions-ci-href] [![License][license-src]][license-href] [![Nuxt][nuxt-src]][nuxt-href] Nuxt Security Automatically configure your app to follow OWASP security patterns and principles by using HTTP Headers and Middleware. This module works with Nuxt 3.X and newer (4.X) - 📖 &nbsp;Read the documentation - 👾 &nbsp;Playground Features - Security response headers (including CSP for SSG apps) - Request Size & Rate Limiters - Cross Site Scripting (XSS) Validation - Cross-Origin Resource Sharing (CORS) support - Hide X-Powered-By header and remove console loggers utils - [Optional] Allowed HTTP Methods, Basic Auth, CSRF Usage Install the module: And that's it! The module will now register route rules and server middlewares globally so that your application will be more secured. Configuration You can pass configuration to the module in the nuxt.config.ts like following: For all available configuration options check out the docs. Development - Run yarn dev:prepare to generate type stubs. - Use yarn dev to start playground in development mode. License MIT License [npm-version-src]: https://img.shields.io/npm/v/nuxt-security/latest.svg [npm-version-href]: https://npmjs.com/package/nuxt-security [npm-downloads-src]: https://img.shields.io/npm/dt/nuxt-security.svg [npm-downloads-href]: https://npmjs.com/package/nuxt-security [g","default_branch":null,"files":null,"tree":[],"storefront":"/r/Baroshem","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Baroshem/nuxt-security/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}