</>PackageGraphPackageGraph

cors

npmv2.8.6

Node.js CORS middleware

61.7M
Weekly downloads
1
Dependents
8
Dependencies
96/100
Popularity

Overview

cors is an npm package that node.js CORS middleware. It is extremely widely used, with about 61.7M downloads per week and 1 known dependents in the graph. The latest version is 2.8.6, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need node.js CORS middleware and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (61.7M weekly downloads).
  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of cors.

varyvitesocket.ioengine.iocors
cors dependencies dependents

Dependencies

Runtime (2)

object-assign ^4vary ^1

Dev (6)

after 0.8.2eslint 7.30.0express 4.21.2mocha 9.2.2nyc 15.1.0supertest 6.1.3

Used by

Popular packages that depend on cors.

Alternatives to cors

Frequently installed together

Version history

VersionPublishedLicense
2.8.6latest5 months agoMIT
2.8.57 years agoMIT
2.8.49 years agoMIT
2.8.39 years agoMIT
2.8.29 years agoMIT
2.8.110 years agoMIT
2.8.010 years agoMIT
2.7.210 years agoMIT
2.7.111 years agoMIT
2.7.011 years agoMIT
2.6.111 years agoMIT
2.6.011 years agoMIT
2.5.311 years agoMIT
2.5.211 years agoMIT
2.5.111 years agoMIT
2.5.011 years agoMIT
2.4.212 years agoMIT
2.4.112 years agoMIT
2.4.012 years agoMIT
2.3.212 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install cors?

Run `npm install cors` to add cors to your npm project.

What license is cors released under?

cors is distributed under the MIT license.

How popular is cors?

cors has approximately 61,721,317 downloads per week and 1 known dependent packages.