Skip to content
JS
Package

cors

Node.js CORS middleware

v2.8.6, 22 Jan 2026MITCommonJSTypes: NoneSecurityHTTP servers and web frameworks
$ npm install cors

Key numbers

As of 25 Sept 2026
Weekly downloads
58m
+194% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
8 months ago
v2.8.6
GitHub stars
6.2k
515 forks
Open issues / PRs
18 / 34
Contributors
62
Commits, last 52 weeks
12

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60m80mSept 2025Mar 2026Sept 2026High 77m (25 Aug 2026)Low 14.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

57,990,169 downloads last week, 282,972,112 in the last month. The 12-month change of +194% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
135 in total
Latest version
2.8.6, 22 Jan 20268 months ago
First published
31 Jan 2013
Last push to GitHub
2 Jun 2026114 days before the snapshot
Repository archived
No
Open issues
18
Open pull requests
34
Commits, last 52 weeks
12
Dependents on npm
25,029

Major versions

  1. v2 first release 2.0.0, 10 Oct 2013
  2. v1 first release 1.0.0, 28 Apr 2013
  3. v0 first release 0.0.1, 31 Jan 2013

Recent releases

VersionPublished
2.8.622 Jan 2026
2.8.54 Nov 2018
2.8.413 Jul 2017
2.8.330 Mar 2017
2.8.229 Mar 2017
2.8.18 Sept 2016
2.8.023 Aug 2016
2.7.223 Aug 2016
2.7.128 May 2015
2.7.028 May 2015
2.6.128 May 2015
2.6.027 Apr 2015
2.5.320 Jan 2015
2.5.210 Nov 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.10
Runtimes
-
Unpacked size (npm)
19 kB
Dependencies (2)
varyobject-assign
npm install cors
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cors@2.8.6/
  • unpkghttps://unpkg.com/cors@2.8.6/
  • esm.shhttps://esm.sh/cors@2.8.6
PackageWeekly downloadsGzipLast releaseModuleComparison
corser5.1m-10 years agoCommonJS-
express-rate-limit45.1m-27 days agoESM + CommonJS-
rate-limiter-flexible2m-7 days agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.