npm · npm:csrf
csrf active
primary logic behind csrf tokens
The latest stable version of csrf is 3.1.0, published on 2019-04-10. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.1.0 |
|---|---|
| Published | 2019-04-10 03:35:50 UTC |
| Install | npm install csrf@latest |
| Requires (engines) | {"node":">= 0.8"} |
| Peer dependencies | — |
| Dist-tags | latest: 3.1.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:36:32 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "csrf", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/csrf . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2019-04-10 03:35:50 UTC · 2773 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 18 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.1.0 | 2019-04-10 03:35:50 UTC |
3.0.6 | 2017-03-15 03:44:23 UTC |
3.0.5 | 2017-03-08 06:12:43 UTC |
3.0.4 | 2016-11-14 05:33:54 UTC |
3.0.3 | 2016-05-27 02:16:46 UTC |
3.0.2 | 2016-05-23 03:56:03 UTC |
3.0.1 | 2016-01-28 22:54:53 UTC |
3.0.0 | 2015-05-10 02:31:25 UTC |
2.0.7 | 2015-05-04 00:43:00 UTC |
2.0.6 | 2015-02-14 06:19:23 UTC |
2.0.5 | 2015-02-01 06:17:22 UTC |
2.0.4 | 2015-01-09 01:54:59 UTC |
2.0.3 | 2014-12-30 21:12:56 UTC |
2.0.2 | 2014-11-09 18:30:13 UTC |
2.0.1 | 2014-08-22 08:32:35 UTC |
0.0.3 | 2012-09-11 15:21:58 UTC |
0.0.2 | 2012-09-11 15:06:46 UTC |
0.0.1 | 2012-08-27 05:34:37 UTC |
Showing the 18 most recent of 18 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.1.0 |
node 18 | 3.1.0 |
node 20 | 3.1.0 |
node 22 | 3.1.0 |
node 24 | 3.1.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of csrf?
The latest stable version of csrf is 3.1.0, published on 2019-04-10. Verified by Vigia on 2026-11-12.
How do I install the latest version of csrf?
Run npm install csrf@latest. The latest stable version is 3.1.0 (verified 2026-11-12).
Is csrf deprecated?
No. csrf is not marked as deprecated in the registry.
Which Node.js version does csrf require?
csrf 3.1.0 declares this requirement: {"node":">= 0.8"}.
Does csrf 3.1.0 have known vulnerabilities?
No known advisories affect csrf 3.1.0 according to the data Vigia checks.
Is csrf still maintained?
csrf published 0 stable releases in the last 12 months; the most recent was 2773 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @eslint-react/eslint-plugin
- node-object-hash
- @docusaurus/react-loadable
- eslint-plugin-html
- @bugsnag/safe-json-stringify
- amazon-cognito-identity-js
- spdx-satisfies
- react-native-device-info
- @scalar/json-magic
- @types/tar-stream
- babel-plugin-transform-class-properties
- @inversifyjs/core
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/csrf) [](https://vigia.coredls.cloud/npm/csrf) [](https://vigia.coredls.cloud/npm/csrf)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/csrf
GET https://vigia.coredls.cloud/v1/packages/npm/csrf/versions/{version}