{
  "name": "color-name",
  "url": "https://canirequire.com/package/color-name/",
  "description": "A list of color names and its values",
  "latest": "2.1.1",
  "latestPublished": "2026-07-22T15:38:35.512Z",
  "format": "esm-only",
  "summary": "color-name@2.1.1 is ESM-only. color-name dropped its CommonJS build in 2.0.0 (November 2022). The last version you can require() on every Node.js version, including 18 and older, is 1.1.4, published Sep 21, 2018. On Node.js 20.19+, 22.12+ and every newer release, require(\"color-name\") 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": "2.0.0",
  "esmOnlySinceDate": "2022-11-08T14:32:47.478Z",
  "lastCommonJsVersion": "1.1.4",
  "lastCommonJsDate": "2018-09-21T10:48:56.546Z",
  "nativeEsmSince": "2.0.0",
  "types": "definitely-typed",
  "nodeEngines": ">=12.20",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/colorjs/color-name",
  "weeklyDownloads": 306572930,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:30.581Z",
    "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": "2.1.1",
      "format": "esm-only",
      "published": "2026-07-22T15:38:35.512Z"
    },
    {
      "version": "2.1.0",
      "format": "esm-only",
      "published": "2025-11-12T15:36:02.540Z"
    },
    {
      "version": "2.0.2",
      "format": "esm-only",
      "published": "2025-09-13T17:23:59.632Z"
    },
    {
      "version": "2.0.0",
      "format": "esm-only",
      "published": "2022-11-08T14:32:47.478Z"
    },
    {
      "version": "1.1.4",
      "format": "cjs",
      "published": "2018-09-21T10:48:56.546Z"
    },
    {
      "version": "1.1.3",
      "format": "cjs",
      "published": "2017-07-15T22:17:08.140Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2017-03-14T02:54:35.452Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2015-12-24T02:05:36.986Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2015-12-24T02:03:18.586Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2015-09-21T02:51:08.141Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-12-15T19:08:24.911Z"
    },
    {
      "version": "0.0.2",
      "format": "cjs",
      "published": "2014-11-23T16:21:53.606Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2014-11-23T16:18:30.217Z"
    }
  ]
}