{
  "name": "cors",
  "url": "https://canirequire.com/package/cors/",
  "description": "Node.js CORS middleware",
  "latest": "2.8.6",
  "latestPublished": "2026-01-22T14:41:30.223Z",
  "format": "cjs",
  "summary": "cors@2.8.6 is a CommonJS package. cors ships CommonJS only. require(\"cors\") works everywhere. import \"cors\" also works because Node.js and Bun can import CommonJS from ES modules, but only the default export is guaranteed; named imports depend on Node's static analysis of the module.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "2.8.6",
  "lastCommonJsDate": "2026-01-22T14:41:30.223Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": ">= 0.10",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/expressjs/cors",
  "weeklyDownloads": 69729609,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:01.192Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "20": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "22": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "24": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "26": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      }
    },
    "bun": {
      "require": true,
      "import": true,
      "requireError": null,
      "importError": null
    }
  },
  "formatHistory": [
    {
      "version": "2.8.6",
      "format": "cjs",
      "published": "2026-01-22T14:41:30.223Z"
    },
    {
      "version": "2.8.5",
      "format": "cjs",
      "published": "2018-11-04T21:00:13.277Z"
    },
    {
      "version": "2.8.4",
      "format": "cjs",
      "published": "2017-07-13T02:50:19.018Z"
    },
    {
      "version": "2.8.3",
      "format": "cjs",
      "published": "2017-03-30T02:59:39.822Z"
    },
    {
      "version": "2.8.2",
      "format": "cjs",
      "published": "2017-03-29T00:57:15.205Z"
    },
    {
      "version": "2.8.1",
      "format": "cjs",
      "published": "2016-09-08T20:36:14.237Z"
    },
    {
      "version": "2.8.0",
      "format": "cjs",
      "published": "2016-08-23T18:11:23.068Z"
    },
    {
      "version": "2.7.2",
      "format": "cjs",
      "published": "2016-08-23T17:58:01.780Z"
    },
    {
      "version": "2.7.1",
      "format": "cjs",
      "published": "2015-05-28T23:17:09.344Z"
    },
    {
      "version": "2.7.0",
      "format": "cjs",
      "published": "2015-05-28T23:10:48.484Z"
    },
    {
      "version": "2.6.1",
      "format": "cjs",
      "published": "2015-05-28T08:30:06.995Z"
    },
    {
      "version": "2.6.0",
      "format": "cjs",
      "published": "2015-04-27T18:49:54.382Z"
    },
    {
      "version": "2.5.3",
      "format": "cjs",
      "published": "2015-01-20T21:52:22.113Z"
    },
    {
      "version": "2.5.2",
      "format": "cjs",
      "published": "2014-11-10T05:50:27.768Z"
    },
    {
      "version": "2.5.1",
      "format": "cjs",
      "published": "2014-11-07T19:05:52.211Z"
    },
    {
      "version": "2.5.0",
      "format": "cjs",
      "published": "2014-10-23T21:37:40.967Z"
    },
    {
      "version": "2.4.2",
      "format": "cjs",
      "published": "2014-09-13T22:04:32.516Z"
    },
    {
      "version": "2.4.1",
      "format": "cjs",
      "published": "2014-07-06T00:24:55.054Z"
    },
    {
      "version": "2.4.0",
      "format": "cjs",
      "published": "2014-07-05T18:48:29.359Z"
    },
    {
      "version": "2.3.2",
      "format": "cjs",
      "published": "2014-07-05T18:26:22.355Z"
    },
    {
      "version": "2.3.1",
      "format": "cjs",
      "published": "2014-05-12T23:16:52.511Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2014-05-06T22:32:41.785Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2014-03-04T21:49:38.672Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2013-12-11T06:03:03.701Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2013-10-14T18:18:05.282Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2013-10-10T01:45:20.429Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2013-04-29T14:26:35.799Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2013-04-28T18:35:01.910Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2013-04-28T16:28:06.170Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2013-04-28T16:24:21.826Z"
    },
    {
      "version": "0.0.5",
      "format": "cjs",
      "published": "2013-03-12T18:08:00.657Z"
    },
    {
      "version": "0.0.4",
      "format": "cjs",
      "published": "2013-02-08T04:37:24.660Z"
    },
    {
      "version": "0.0.3",
      "format": "cjs",
      "published": "2013-02-01T02:36:58.903Z"
    },
    {
      "version": "0.0.2",
      "format": "cjs",
      "published": "2013-01-31T04:46:07.407Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2013-01-31T04:13:41.715Z"
    }
  ]
}