Astro integration to enhance your website's security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques.
npm install @kindspells/astro-shield
!NPM Downloads
!GitHub commit activity
!GitHub Actions Workflow Status

Astro-Shield helps you to enhance the security of your Astro site.
``bashWith NPM
npm install --save-dev @kindspells/astro-shield
How to use
In your
astro.config.mjs file:`javascript
import { defineConfig } from 'astro/config'
import { shield } from '@kindspells/astro-shield'export default defineConfig({
integrations: [
shield({})
]
})
``- Code of Conduct
- Contributing Guidelines
- Security Policy
This library has been created and is being maintained by
KindSpells Labs.
This library is released under MIT License.