{
  "name": "d3-color",
  "url": "https://canirequire.com/package/d3-color/",
  "description": "Color spaces! RGB, HSL, Cubehelix, Lab and HCL (Lch).",
  "latest": "3.1.0",
  "latestPublished": "2022-03-28T22:46:28.202Z",
  "format": "esm-only",
  "summary": "d3-color@3.1.0 is ESM-only. d3-color dropped its CommonJS build in 3.0.0 (June 2021). The last version you can require() on every Node.js version, including 18 and older, is 2.0.0, published Aug 19, 2020. On Node.js 20.19+, 22.12+ and every newer release, require(\"d3-color\") 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": "3.0.0",
  "esmOnlySinceDate": "2021-06-04T23:14:56.701Z",
  "lastCommonJsVersion": "2.0.0",
  "lastCommonJsDate": "2020-08-19T21:53:20.965Z",
  "nativeEsmSince": "3.0.0",
  "types": "definitely-typed",
  "nodeEngines": ">=12",
  "deprecated": null,
  "license": "ISC",
  "repository": "https://github.com/d3/d3-color",
  "weeklyDownloads": 68735315,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:02.325Z",
    "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": "3.1.0",
      "format": "esm-only",
      "published": "2022-03-28T22:46:28.202Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2021-06-05T18:22:14.110Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2021-06-04T23:14:56.701Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2020-08-19T21:53:20.965Z"
    },
    {
      "version": "1.4.1",
      "format": "cjs",
      "published": "2020-04-20T17:39:56.900Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2019-09-25T20:27:57.595Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2019-08-02T00:17:16.826Z"
    },
    {
      "version": "1.2.8",
      "format": "cjs",
      "published": "2019-06-28T04:30:55.955Z"
    },
    {
      "version": "1.2.7",
      "format": "cjs",
      "published": "2019-06-28T02:47:20.199Z"
    },
    {
      "version": "1.2.6",
      "format": "cjs",
      "published": "2019-06-27T20:04:41.558Z"
    },
    {
      "version": "1.2.5",
      "format": "cjs",
      "published": "2019-06-26T18:17:32.061Z"
    },
    {
      "version": "1.2.4",
      "format": "cjs",
      "published": "2019-06-26T18:02:58.456Z"
    },
    {
      "version": "1.2.3",
      "format": "cjs",
      "published": "2018-08-24T21:12:26.997Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2018-08-24T18:15:30.784Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2018-08-24T17:27:28.787Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2018-05-07T17:25:11.060Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2018-04-17T17:50:30.286Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2018-04-17T15:21:09.864Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2017-03-10T18:12:28.998Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2016-11-08T18:44:00.392Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2016-08-02T21:53:04.979Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-06-14T22:41:12.721Z"
    },
    {
      "version": "0.5.0",
      "format": "cjs",
      "published": "2016-06-07T23:26:57.330Z"
    },
    {
      "version": "0.4.2",
      "format": "cjs",
      "published": "2016-02-22T00:00:49.901Z"
    },
    {
      "version": "0.4.1",
      "format": "cjs",
      "published": "2016-02-03T05:18:53.094Z"
    },
    {
      "version": "0.4.0",
      "format": "cjs",
      "published": "2016-02-03T00:19:32.166Z"
    },
    {
      "version": "0.3.4",
      "format": "cjs",
      "published": "2016-01-29T18:17:10.029Z"
    },
    {
      "version": "0.3.3",
      "format": "cjs",
      "published": "2016-01-05T05:23:26.146Z"
    },
    {
      "version": "0.3.2",
      "format": "cjs",
      "published": "2015-12-18T20:23:09.037Z"
    },
    {
      "version": "0.3.1",
      "format": "cjs",
      "published": "2015-11-25T19:41:58.906Z"
    },
    {
      "version": "0.3.0",
      "format": "cjs",
      "published": "2015-11-25T19:34:37.270Z"
    },
    {
      "version": "0.2.8",
      "format": "cjs",
      "published": "2015-11-11T18:53:28.264Z"
    },
    {
      "version": "0.2.7",
      "format": "cjs",
      "published": "2015-11-04T07:15:30.124Z"
    },
    {
      "version": "0.2.6",
      "format": "cjs",
      "published": "2015-10-18T03:11:53.214Z"
    },
    {
      "version": "0.2.5",
      "format": "cjs",
      "published": "2015-09-15T16:13:18.145Z"
    },
    {
      "version": "0.2.4",
      "format": "cjs",
      "published": "2015-07-15T19:51:25.597Z"
    },
    {
      "version": "0.2.3",
      "format": "cjs",
      "published": "2015-07-15T05:31:51.336Z"
    },
    {
      "version": "0.2.2",
      "format": "cjs",
      "published": "2015-07-15T04:55:38.795Z"
    },
    {
      "version": "0.2.1",
      "format": "cjs",
      "published": "2015-06-16T20:31:39.595Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2015-06-07T05:11:04.571Z"
    },
    {
      "version": "0.0.4",
      "format": "cjs",
      "published": "2015-06-03T22:03:05.525Z"
    },
    {
      "version": "0.0.3",
      "format": "cjs",
      "published": "2015-06-03T19:41:02.847Z"
    },
    {
      "version": "0.0.2",
      "format": "cjs",
      "published": "2015-06-03T05:40:13.560Z"
    },
    {
      "version": "0.0.0",
      "format": "cjs",
      "published": "2014-03-29T21:29:27.585Z"
    }
  ]
}