csrf-protection
A fastify csrf plugin
File Explorer
Download Latest Version (.zip)- ci.yml
- lock-threads.yml
- dependabot.yml
- example.mjs
- basic.test.js
- user-info.test.js
- index.d.ts
- index.tst.ts
- .gitattributes
- .gitignore
- .npmrc
- eslint.config.js
- index.js
- LICENSE
- package.json
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/fastify/csrf-protection
Downloads the entire project code from GitHub to your computer.
cd csrf-protection
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm i @fastify/csrf-protection
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
