Ross ROSS = Recommend OSS · open-source software intelligence for agents

expressjs/cors

Node.js CORS middleware observed · 2026-08-28

github.com/expressjs/cors · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

70/100

  • Activity 85
  • Release rhythm 35
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4962
  • days_rel: 223
  • days_push: 92
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

6191 stars · 511 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A Node.js middleware for Express and Connect that sets CORS response headers, telling browsers which origins may read responses from your server. It supports simple usage, per-route enabling, dynamic origin configuration, and pre-flight handling.

Use cases

  • enable cross-origin requests to my express api
  • allow a browser frontend to call my nodejs server
  • configure allowed origins for cors headers
  • handle cors pre-flight options requests
  • enable cors for a single route in express
  • set dynamic origin per request in nodejs

When to choose

  • you run an Express or Connect server and need browser cross-origin access
  • you want configurable, per-route or dynamic CORS header handling
  • you need a small, battle-tested middleware with simple npm install

When to avoid

  • your server is not Node.js/Express/Connect
  • you expect CORS to block requests - it only sets headers enforced by browsers
  • non-browser clients are your only consumers, since they ignore CORS entirely

Facets

library · maturity stable

middleware http-server security web-framework web-development backend apis security cors express connect cross-origin-resource-sharing http-headers pre-flight nodejs web-server

2 sources

Member repositories

RepositoryRoleHealth v2
expressjs/corsmain70

For agents

markdown · JSON · MCP: product_card(name="expressjs/cors")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem