@kitr/shield
v0.9.2
Published
@kitr/shield: security headers, CORS, CSRF double-submit cookies and rate limiting as h3 middleware, configured in config/shield.ts.
Readme
@kitr/shield
Shield. Turn on the security basics every API needs: CORS, CSRF protection, safe headers and rate limits.
pnpm kitr add shieldkitr add installs the package and wires it into your app: the provider in kitrrc.ts, its config file and its AGENTS.md section. Import it from @kitr/shield.
Read the guide at https://kitr.dev/packages/shield.
Part of kitr, the TypeScript framework where everything is an add-on. MIT licensed.
