Key numbers
As of 25 Sept 2026
- Weekly downloads
- 806.2k
- +17% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 3
- Direct, from package.json
- Last release
- 7 years ago
- v3.1.0
- GitHub stars
- 315
- 33 forks
- Open issues / PRs
- 0 / 11
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
806,211 downloads last week, 3,805,654 in the last month. The 12-month change of +17% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 018 in total
- Latest version
- 3.1.0, 10 Apr 20197 years ago
- First published
- 27 Aug 2012
- Last push to GitHub
- 3 Jan 2026264 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 11
- Commits, last 52 weeks
- 0
- Dependents on npm
- -
Major versions
- v3 first release 3.0.0, 10 May 2015
- v2 first release 2.0.1, 22 Aug 2014
- v0 first release 0.0.1, 27 Aug 2012
Recent releases
| Version | Published |
|---|---|
| 3.1.0 | 10 Apr 2019 |
| 3.0.6 | 15 Mar 2017 |
| 3.0.5 | 8 Mar 2017 |
| 3.0.4 | 14 Nov 2016 |
| 3.0.3 | 27 May 2016 |
| 3.0.2 | 23 May 2016 |
| 3.0.1 | 28 Jan 2016 |
| 3.0.0 | 10 May 2015 |
| 2.0.7 | 4 May 2015 |
| 2.0.6 | 14 Feb 2015 |
| 2.0.5 | 1 Feb 2015 |
| 2.0.4 | 9 Jan 2015 |
| 2.0.3 | 30 Dec 2014 |
| 2.0.2 | 9 Nov 2014 |
- Module format
- -Not determined from package.json
- TypeScript types
- None
- Node.js engine range
- >= 0.8
- Runtimes
- -
- Unpacked size (npm)
- 13 kB
- Dependencies (3)
rndmtsscmpuid-safe
npm install csrf- jsDelivr
https://cdn.jsdelivr.net/npm/csrf@3.1.0/ - unpkg
https://unpkg.com/csrf@3.1.0/ - esm.sh
https://esm.sh/csrf@3.1.0
Indexability: Indexed.