{
  "name": "chai",
  "url": "https://canirequire.com/package/chai/",
  "description": "BDD/TDD assertion library for node.js and the browser. Test framework agnostic.",
  "latest": "6.2.2",
  "latestPublished": "2025-12-22T21:26:03.989Z",
  "format": "esm-only",
  "summary": "chai@6.2.2 is ESM-only. chai dropped its CommonJS build in 5.0.0 (December 2023). The last version you can require() on every Node.js version, including 18 and older, is 4.5.0, published Jul 25, 2024. On Node.js 20.19+, 22.12+ and every newer release, require(\"chai\") works anyway: Node can load synchronous ES modules through require(). Verified on Node 20, 22, 24, 26. Node.js 18 and older still fail with ERR_REQUIRE_ESM.",
  "esmOnlySince": "5.0.0",
  "esmOnlySinceDate": "2023-12-28T11:48:03.066Z",
  "lastCommonJsVersion": "4.5.0",
  "lastCommonJsDate": "2024-07-25T12:23:42.310Z",
  "nativeEsmSince": "4.3.0",
  "types": "definitely-typed",
  "nodeEngines": ">=18",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/chaijs/chai",
  "weeklyDownloads": 105092825,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:45.370Z",
    "node": {
      "18": {
        "require": false,
        "import": true,
        "requireError": "ERR_REQUIRE_ESM",
        "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": "6.2.2",
      "format": "esm-only",
      "published": "2025-12-22T21:26:03.989Z"
    },
    {
      "version": "6.2.1",
      "format": "esm-only",
      "published": "2025-11-11T11:17:33.992Z"
    },
    {
      "version": "6.2.0",
      "format": "esm-only",
      "published": "2025-09-27T16:53:05.628Z"
    },
    {
      "version": "6.1.0",
      "format": "esm-only",
      "published": "2025-09-27T11:02:43.871Z"
    },
    {
      "version": "6.0.1",
      "format": "esm-only",
      "published": "2025-08-22T16:55:08.902Z"
    },
    {
      "version": "6.0.0",
      "format": "esm-only",
      "published": "2025-08-22T09:28:00.733Z"
    },
    {
      "version": "5.3.3",
      "format": "esm-only",
      "published": "2025-08-22T17:24:21.651Z"
    },
    {
      "version": "5.3.2",
      "format": "esm-only",
      "published": "2025-08-22T08:27:17.425Z"
    },
    {
      "version": "5.3.1",
      "format": "esm-only",
      "published": "2025-08-18T09:57:29.749Z"
    },
    {
      "version": "5.3.0",
      "format": "esm-only",
      "published": "2025-08-18T09:55:38.463Z"
    },
    {
      "version": "5.2.2",
      "format": "esm-only",
      "published": "2025-08-18T09:48:01.870Z"
    },
    {
      "version": "5.2.1",
      "format": "esm-only",
      "published": "2025-07-08T17:19:00.590Z"
    },
    {
      "version": "5.2.0",
      "format": "esm-only",
      "published": "2025-02-14T17:01:54.480Z"
    },
    {
      "version": "5.1.2",
      "format": "esm-only",
      "published": "2024-10-23T09:22:01.011Z"
    },
    {
      "version": "5.1.1",
      "format": "esm-only",
      "published": "2024-05-09T10:23:59.111Z"
    },
    {
      "version": "5.1.0",
      "format": "esm-only",
      "published": "2024-02-12T14:03:22.065Z"
    },
    {
      "version": "5.0.3",
      "format": "esm-only",
      "published": "2024-01-25T09:50:27.622Z"
    },
    {
      "version": "5.0.2",
      "format": "esm-only",
      "published": "2024-01-25T09:49:08.743Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2023-12-28T11:48:03.066Z"
    },
    {
      "version": "4.5.0",
      "format": "dual",
      "published": "2024-07-25T12:23:42.310Z"
    },
    {
      "version": "4.4.1",
      "format": "dual",
      "published": "2024-01-12T14:15:44.035Z"
    },
    {
      "version": "4.4.0",
      "format": "dual",
      "published": "2024-01-05T13:20:09.333Z"
    },
    {
      "version": "4.3.10",
      "format": "dual",
      "published": "2023-09-28T09:50:37.566Z"
    },
    {
      "version": "4.3.9",
      "format": "dual",
      "published": "2023-09-27T09:26:03.935Z"
    },
    {
      "version": "4.3.8",
      "format": "dual",
      "published": "2023-08-24T11:44:52.639Z"
    },
    {
      "version": "4.3.7",
      "format": "dual",
      "published": "2022-11-07T16:37:56.392Z"
    },
    {
      "version": "4.3.6",
      "format": "dual",
      "published": "2022-01-26T13:10:56.920Z"
    },
    {
      "version": "4.3.5",
      "format": "dual",
      "published": "2022-01-25T14:46:31.511Z"
    },
    {
      "version": "4.3.4",
      "format": "dual",
      "published": "2021-03-12T16:50:44.874Z"
    },
    {
      "version": "4.3.3",
      "format": "dual",
      "published": "2021-03-03T18:22:10.884Z"
    },
    {
      "version": "4.3.2",
      "format": "dual",
      "published": "2021-03-03T18:18:33.492Z"
    },
    {
      "version": "4.3.1",
      "format": "dual",
      "published": "2021-03-02T18:19:37.502Z"
    },
    {
      "version": "4.3.0",
      "format": "dual",
      "published": "2021-02-04T10:58:07.504Z"
    },
    {
      "version": "4.2.0",
      "format": "cjs",
      "published": "2018-09-26T12:15:22.143Z"
    },
    {
      "version": "4.1.2",
      "format": "cjs",
      "published": "2017-08-31T21:41:39.965Z"
    },
    {
      "version": "4.1.1",
      "format": "cjs",
      "published": "2017-08-05T07:33:06.266Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2017-07-12T00:17:10.329Z"
    },
    {
      "version": "4.0.2",
      "format": "cjs",
      "published": "2017-06-05T19:33:48.117Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2017-05-31T21:20:26.265Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2017-05-26T10:31:36.905Z"
    },
    {
      "version": "3.5.0",
      "format": "cjs",
      "published": "2016-01-28T12:05:41.615Z"
    },
    {
      "version": "3.4.1",
      "format": "cjs",
      "published": "2015-11-07T23:24:54.150Z"
    },
    {
      "version": "3.4.0",
      "format": "cjs",
      "published": "2015-10-21T11:28:04.494Z"
    },
    {
      "version": "3.3.0",
      "format": "cjs",
      "published": "2015-09-21T08:59:50.508Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2015-07-19T17:05:37.829Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2015-07-16T21:42:30.681Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2015-06-03T23:30:35.867Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2015-04-26T16:25:25.613Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2015-03-27T11:19:56.615Z"
    },
    {
      "version": "2.1.2",
      "format": "cjs",
      "published": "2015-03-15T21:45:04.461Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2015-03-04T20:29:32.671Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2015-02-23T21:46:00.053Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-02-11T17:37:17.897Z"
    },
    {
      "version": "1.10.0",
      "format": "cjs",
      "published": "2014-11-10T14:06:22.387Z"
    },
    {
      "version": "1.9.2",
      "format": "cjs",
      "published": "2014-09-29T23:25:14.568Z"
    },
    {
      "version": "1.9.1",
      "format": "cjs",
      "published": "2014-03-19T16:22:17.031Z"
    },
    {
      "version": "1.9.0",
      "format": "cjs",
      "published": "2014-01-29T23:39:50.699Z"
    },
    {
      "version": "1.8.1",
      "format": "cjs",
      "published": "2013-10-10T10:47:56.478Z"
    },
    {
      "version": "1.8.0",
      "format": "cjs",
      "published": "2013-09-18T19:05:09.714Z"
    },
    {
      "version": "1.7.2",
      "format": "cjs",
      "published": "2013-06-27T18:16:00.676Z"
    }
  ]
}