@kindspells/astro-shield
v1.3.6
Published
Astro integration to enhance your website's security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques.
Downloads
634
Maintainers
Readme
Astro-Shield
Introduction
Astro-Shield helps you to enhance the security of your Astro site.
How to install
# With NPM
npm install --save-dev @kindspells/astro-shield
# With Yarn
yarn add --dev @kindspells/astro-shield
# With PNPM
pnpm add --save-dev @kindspells/astro-shield
How to use
In your astro.config.mjs
file:
import { defineConfig } from 'astro/config'
import { shield } from '@kindspells/astro-shield'
export default defineConfig({
integrations: [
shield({})
]
})
Learn more
Other Relevant Guidelines
Main Contributors
This library has been created and is being maintained by KindSpells Labs.
License
This library is released under MIT License.