{
  "name": "ansi-escapes",
  "url": "https://canirequire.com/package/ansi-escapes/",
  "description": "ANSI escape codes for manipulating the terminal",
  "latest": "7.3.0",
  "latestPublished": "2026-02-04T16:21:10.230Z",
  "format": "esm-only",
  "summary": "ansi-escapes@7.3.0 is ESM-only. ansi-escapes dropped its CommonJS build in 5.0.0 (April 2021). The last version you can require() on every Node.js version, including 18 and older, is 4.3.2, published Mar 24, 2021. On Node.js 20.19+, 22.12+ and every newer release, require(\"ansi-escapes\") 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": "2021-04-18T05:19:53.662Z",
  "lastCommonJsVersion": "4.3.2",
  "lastCommonJsDate": "2021-03-24T13:41:41.518Z",
  "nativeEsmSince": "5.0.0",
  "types": "bundled",
  "nodeEngines": ">=18",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/ansi-escapes",
  "weeklyDownloads": 113552898,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:42.987Z",
    "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": "7.3.0",
      "format": "esm-only",
      "published": "2026-02-04T16:21:10.230Z"
    },
    {
      "version": "7.2.0",
      "format": "esm-only",
      "published": "2025-11-04T08:36:56.236Z"
    },
    {
      "version": "7.1.1",
      "format": "esm-only",
      "published": "2025-09-23T00:44:51.596Z"
    },
    {
      "version": "7.1.0",
      "format": "esm-only",
      "published": "2025-09-09T16:20:51.804Z"
    },
    {
      "version": "7.0.0",
      "format": "esm-only",
      "published": "2024-05-02T20:54:16.807Z"
    },
    {
      "version": "6.2.1",
      "format": "esm-only",
      "published": "2024-03-24T06:35:04.748Z"
    },
    {
      "version": "6.2.0",
      "format": "esm-only",
      "published": "2023-04-24T09:56:43.517Z"
    },
    {
      "version": "6.1.0",
      "format": "esm-only",
      "published": "2023-03-16T08:11:57.124Z"
    },
    {
      "version": "6.0.0",
      "format": "esm-only",
      "published": "2022-09-21T10:34:04.690Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2021-04-18T05:19:53.662Z"
    },
    {
      "version": "4.3.2",
      "format": "cjs",
      "published": "2021-03-24T13:41:41.518Z"
    },
    {
      "version": "4.3.1",
      "format": "cjs",
      "published": "2020-03-01T13:54:42.051Z"
    },
    {
      "version": "4.3.0",
      "format": "cjs",
      "published": "2019-11-16T16:54:26.152Z"
    },
    {
      "version": "4.2.1",
      "format": "cjs",
      "published": "2019-07-31T20:56:12.284Z"
    },
    {
      "version": "4.2.0",
      "format": "cjs",
      "published": "2019-06-11T16:32:19.203Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2019-03-31T12:40:58.906Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2019-03-20T06:28:01.768Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2019-03-19T14:09:34.405Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2019-01-28T03:36:59.139Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2018-03-25T08:14:47.767Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2017-09-05T10:36:07.996Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2017-04-23T15:32:59.037Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2016-04-17T20:37:19.676Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2016-03-09T09:33:54.015Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2016-03-05T09:29:21.486Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2016-01-10T01:16:26.151Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2015-08-17T08:54:15.403Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-08-14T15:26:46.205Z"
    }
  ]
}