{
  "name": "color-string",
  "url": "https://canirequire.com/package/color-string/",
  "description": "Parser and generator for CSS color strings",
  "latest": "2.1.4",
  "latestPublished": "2025-11-15T16:35:04.631Z",
  "format": "esm-only",
  "summary": "color-string@2.1.4 is ESM-only. color-string dropped its CommonJS build in 2.0.0 (February 2025). The last version you can require() on every Node.js version, including 18 and older, is 1.9.1, published Apr 22, 2022. On Node.js 20.19+, 22.12+ and every newer release, require(\"color-string\") 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": "2025-02-06T08:12:53.476Z",
  "lastCommonJsVersion": "1.9.1",
  "lastCommonJsDate": "2022-04-22T18:08:39.465Z",
  "nativeEsmSince": "2.0.0",
  "types": "bundled",
  "nodeEngines": ">=18",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/Qix-/color-string",
  "weeklyDownloads": 36677622,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:34.331Z",
    "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.4",
      "format": "esm-only",
      "published": "2025-11-15T16:35:04.631Z"
    },
    {
      "version": "2.1.3",
      "format": "esm-only",
      "published": "2025-11-14T18:34:14.407Z"
    },
    {
      "version": "2.1.2",
      "format": "esm-only",
      "published": "2025-09-13T16:27:05.782Z"
    },
    {
      "version": "2.1.0",
      "format": "esm-only",
      "published": "2025-08-30T00:16:04.153Z"
    },
    {
      "version": "2.0.1",
      "format": "esm-only",
      "published": "2025-02-14T13:03:48.815Z"
    },
    {
      "version": "2.0.0",
      "format": "esm-only",
      "published": "2025-02-06T08:12:53.476Z"
    },
    {
      "version": "1.9.1",
      "format": "cjs",
      "published": "2022-04-22T18:08:39.465Z"
    },
    {
      "version": "1.9.0",
      "format": "cjs",
      "published": "2021-12-03T15:50:12.415Z"
    },
    {
      "version": "1.8.2",
      "format": "cjs",
      "published": "2021-11-30T19:13:52.071Z"
    },
    {
      "version": "1.8.1",
      "format": "cjs",
      "published": "2021-11-30T09:23:10.975Z"
    },
    {
      "version": "1.8.0",
      "format": "cjs",
      "published": "2021-11-30T09:19:31.252Z"
    },
    {
      "version": "1.7.4",
      "format": "cjs",
      "published": "2021-11-26T08:00:22.531Z"
    },
    {
      "version": "1.7.3",
      "format": "cjs",
      "published": "2021-11-26T07:52:43.206Z"
    },
    {
      "version": "1.7.2",
      "format": "cjs",
      "published": "2021-11-26T07:48:10.528Z"
    },
    {
      "version": "1.7.1",
      "format": "cjs",
      "published": "2021-11-26T07:37:48.255Z"
    },
    {
      "version": "1.7.0",
      "format": "cjs",
      "published": "2021-11-26T07:30:36.396Z"
    },
    {
      "version": "1.6.0",
      "format": "cjs",
      "published": "2021-07-17T06:30:10.485Z"
    },
    {
      "version": "1.5.5",
      "format": "cjs",
      "published": "2021-03-05T17:58:54.132Z"
    },
    {
      "version": "1.5.4",
      "format": "cjs",
      "published": "2020-10-09T07:20:06.654Z"
    },
    {
      "version": "1.5.3",
      "format": "cjs",
      "published": "2018-08-01T22:46:46.478Z"
    },
    {
      "version": "1.5.2",
      "format": "cjs",
      "published": "2017-03-09T20:09:13.169Z"
    },
    {
      "version": "1.5.1",
      "format": "cjs",
      "published": "2017-03-09T19:14:29.842Z"
    },
    {
      "version": "1.5.0",
      "format": "cjs",
      "published": "2017-02-22T19:45:58.450Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2016-12-06T17:41:15.067Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2016-11-16T02:33:49.709Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2016-11-11T19:35:18.954Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2016-03-29T02:34:15.932Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2016-03-29T00:06:02.576Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2016-03-28T23:53:29.528Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2016-01-23T18:04:28.266Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-01-23T17:13:24.173Z"
    },
    {
      "version": "0.4.0",
      "format": "cjs",
      "published": "2016-01-03T17:26:43.053Z"
    },
    {
      "version": "0.3.0",
      "format": "cjs",
      "published": "2015-02-19T07:26:04.506Z"
    },
    {
      "version": "0.2.4",
      "format": "cjs",
      "published": "2014-12-15T20:53:41.567Z"
    },
    {
      "version": "0.2.3",
      "format": "cjs",
      "published": "2014-12-15T19:46:54.906Z"
    },
    {
      "version": "0.2.2",
      "format": "cjs",
      "published": "2014-12-12T08:16:41.004Z"
    },
    {
      "version": "0.2.1",
      "format": "cjs",
      "published": "2014-07-23T07:31:16.044Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2014-07-15T15:17:43.905Z"
    },
    {
      "version": "0.1.3",
      "format": "cjs",
      "published": "2014-03-07T00:41:12.158Z"
    },
    {
      "version": "0.1.2",
      "format": "cjs",
      "published": "2013-02-11T19:28:50.374Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2011-06-23T03:04:06.835Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2011-06-19T19:01:40.532Z"
    }
  ]
}