{
  "name": "chalk",
  "url": "https://canirequire.com/package/chalk/",
  "description": "Terminal string styling done right",
  "latest": "6.0.0",
  "latestPublished": "2026-07-26T14:51:07.269Z",
  "format": "esm-only",
  "summary": "chalk@6.0.0 is ESM-only. chalk dropped its CommonJS build in 5.0.0 (November 2021). The last version you can require() on every Node.js version, including 18 and older, is 4.1.2, published Jul 30, 2021. On Node.js 20.19+, 22.12+ and every newer release, require(\"chalk\") works anyway: Node can load synchronous ES modules through require(). Verified on Node 22, 24, 26. Node.js 18 and older still fail with ERR_REQUIRE_ESM. chalk@6.0.0 declares engines \">=22\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "5.0.0",
  "esmOnlySinceDate": "2021-11-26T09:57:35.917Z",
  "lastCommonJsVersion": "4.1.2",
  "lastCommonJsDate": "2021-07-30T12:02:52.839Z",
  "nativeEsmSince": "5.0.0",
  "types": "bundled",
  "nodeEngines": ">=22",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/chalk/chalk",
  "weeklyDownloads": 439795694,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:29.507Z",
    "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.0.0",
      "format": "esm-only",
      "published": "2026-07-26T14:51:07.269Z"
    },
    {
      "version": "5.6.2",
      "format": "esm-only",
      "published": "2025-09-08T14:47:54.486Z"
    },
    {
      "version": "5.6.0",
      "format": "esm-only",
      "published": "2025-08-17T07:27:47.572Z"
    },
    {
      "version": "5.5.0",
      "format": "esm-only",
      "published": "2025-08-03T23:22:09.818Z"
    },
    {
      "version": "5.4.1",
      "format": "esm-only",
      "published": "2024-12-21T17:04:53.006Z"
    },
    {
      "version": "5.4.0",
      "format": "esm-only",
      "published": "2024-12-18T18:00:41.792Z"
    },
    {
      "version": "5.3.0",
      "format": "esm-only",
      "published": "2023-06-29T10:58:11.887Z"
    },
    {
      "version": "5.2.0",
      "format": "esm-only",
      "published": "2022-12-08T18:46:27.169Z"
    },
    {
      "version": "5.1.2",
      "format": "esm-only",
      "published": "2022-10-12T16:31:51.839Z"
    },
    {
      "version": "5.1.1",
      "format": "esm-only",
      "published": "2022-10-12T09:37:44.826Z"
    },
    {
      "version": "5.1.0",
      "format": "esm-only",
      "published": "2022-10-05T14:46:20.465Z"
    },
    {
      "version": "5.0.1",
      "format": "esm-only",
      "published": "2022-03-08T18:44:36.269Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2021-11-26T09:57:35.917Z"
    },
    {
      "version": "4.1.2",
      "format": "cjs",
      "published": "2021-07-30T12:02:52.839Z"
    },
    {
      "version": "4.1.1",
      "format": "cjs",
      "published": "2021-04-21T08:54:18.124Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2020-06-09T07:43:42.525Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2020-04-02T08:20:33.785Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-11-09T06:59:09.065Z"
    },
    {
      "version": "2.4.2",
      "format": "cjs",
      "published": "2019-01-05T15:45:52.349Z"
    },
    {
      "version": "2.4.1",
      "format": "cjs",
      "published": "2018-04-26T05:15:51.877Z"
    },
    {
      "version": "2.4.0",
      "format": "cjs",
      "published": "2018-04-17T04:28:37.857Z"
    },
    {
      "version": "2.3.2",
      "format": "cjs",
      "published": "2018-03-02T17:43:52.786Z"
    },
    {
      "version": "2.3.1",
      "format": "cjs",
      "published": "2018-02-11T13:18:28.596Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2017-10-24T04:12:55.953Z"
    },
    {
      "version": "2.2.2",
      "format": "cjs",
      "published": "2017-10-24T03:20:46.238Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2017-10-18T03:15:41.898Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2017-08-07T03:56:43.217Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2017-06-30T03:26:46.721Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2017-06-29T23:49:22.932Z"
    },
    {
      "version": "1.1.3",
      "format": "cjs",
      "published": "2016-03-29T00:16:44.512Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2016-03-28T23:32:04.003Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2015-08-19T20:10:58.495Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2015-07-01T13:32:13.906Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-02-23T07:41:35.421Z"
    },
    {
      "version": "0.5.1",
      "format": "cjs",
      "published": "2014-07-09T20:24:36.498Z"
    },
    {
      "version": "0.5.0",
      "format": "cjs",
      "published": "2014-07-04T21:23:48.003Z"
    },
    {
      "version": "0.4.0",
      "format": "cjs",
      "published": "2013-12-13T19:30:32.742Z"
    },
    {
      "version": "0.3.0",
      "format": "cjs",
      "published": "2013-10-19T15:58:20.344Z"
    },
    {
      "version": "0.2.1",
      "format": "cjs",
      "published": "2013-08-29T14:15:49.234Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2013-08-03T16:48:31.308Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2013-08-03T01:38:53.881Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2013-08-03T00:21:59.499Z"
    }
  ]
}