This version is outdated! Click here to see latest



middleware for dynamically or statically enabling CORS in express/connect applications

(cors, express, connect, middleware)

Critical or Security advisories for 2.7.0

This version doesn't have any advisory. Want to report one?

Changelog for 2.7.0

  • Allow array of matching condition as origin option
  • Allow regular expression as origin option

Dependencies for 2.7.0

Name Requirement Status








My projects using cors

Name Locked version Requirement
You should be logged in to see which of your projects use cors.