npm · npm:cors
cors active
Node.js CORS middleware
The latest stable version of cors is 2.8.6, published on 2026-01-22. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.8.6 |
|---|---|
| Published | 2026-01-22 14:41:30 UTC |
| Install | npm install cors@latest |
| Requires (engines) | {"node":">= 0.10"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.8.6 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:07:50 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 "cors", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/cors . 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 | slowing down |
|---|---|
| Last stable release | 2026-01-22 14:41:30 UTC · 294 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 35 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.8.6 | 2026-01-22 14:41:30 UTC |
2.8.5 | 2018-11-04 21:00:13 UTC |
2.8.4 | 2017-07-13 02:50:19 UTC |
2.8.3 | 2017-03-30 02:59:39 UTC |
2.8.2 | 2017-03-29 00:57:15 UTC |
2.8.1 | 2016-09-08 20:36:14 UTC |
2.8.0 | 2016-08-23 18:11:23 UTC |
2.7.2 | 2016-08-23 17:58:01 UTC |
2.7.1 | 2015-05-28 23:17:09 UTC |
2.7.0 | 2015-05-28 23:10:48 UTC |
2.6.1 | 2015-05-28 08:30:06 UTC |
2.6.0 | 2015-04-27 18:49:54 UTC |
2.5.3 | 2015-01-20 21:52:22 UTC |
2.5.2 | 2014-11-10 05:50:27 UTC |
2.5.1 | 2014-11-07 19:05:52 UTC |
2.5.0 | 2014-10-23 21:37:40 UTC |
2.4.2 | 2014-09-13 22:04:32 UTC |
2.4.1 | 2014-07-06 00:24:55 UTC |
2.4.0 | 2014-07-05 18:48:29 UTC |
2.3.2 | 2014-07-05 18:26:22 UTC |
Showing the 20 most recent of 35 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 | 2.8.6 |
node 18 | 2.8.6 |
node 20 | 2.8.6 |
node 22 | 2.8.6 |
node 24 | 2.8.6 |
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 cors?
The latest stable version of cors is 2.8.6, published on 2026-01-22. Verified by Vigia on 2026-11-12.
How do I install the latest version of cors?
Run npm install cors@latest. The latest stable version is 2.8.6 (verified 2026-11-12).
Is cors deprecated?
No. cors is not marked as deprecated in the registry.
Which Node.js version does cors require?
cors 2.8.6 declares this requirement: {"node":">= 0.10"}.
Does cors 2.8.6 have known vulnerabilities?
No known advisories affect cors 2.8.6 according to the data Vigia checks.
Is cors still maintained?
cors published 1 stable releases in the last 12 months; the most recent was 294 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @types/express
- mdn-data
- is-weakmap
- @types/send
- reflect.getprototypeof
- react-remove-scroll-bar
- jest-haste-map
- @radix-ui/react-direction
- eslint-config-prettier
- @ungap/structured-clone
- @types/d3-path
- postcss-import
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/cors) [](https://vigia.coredls.cloud/npm/cors) [](https://vigia.coredls.cloud/npm/cors)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/cors
GET https://vigia.coredls.cloud/v1/packages/npm/cors/versions/{version}