{
  "name": "d3-format",
  "url": "https://canirequire.com/package/d3-format/",
  "description": "Format numbers for human consumption.",
  "latest": "3.1.2",
  "latestPublished": "2026-01-14T18:36:25.869Z",
  "format": "esm-only",
  "summary": "d3-format@3.1.2 is ESM-only. d3-format dropped its CommonJS build in 3.0.0 (April 2021). The last version you can require() on every Node.js version, including 18 and older, is 2.0.0, published Aug 20, 2020. On Node.js 20.19+, 22.12+ and every newer release, require(\"d3-format\") 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-04-24T23:20:40.664Z",
  "lastCommonJsVersion": "2.0.0",
  "lastCommonJsDate": "2020-08-20T16:07:31.634Z",
  "nativeEsmSince": "3.0.0",
  "types": "definitely-typed",
  "nodeEngines": ">=12",
  "deprecated": null,
  "license": "ISC",
  "repository": "https://github.com/d3/d3-format",
  "weeklyDownloads": 69061142,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:02.156Z",
    "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.2",
      "format": "esm-only",
      "published": "2026-01-14T18:36:25.869Z"
    },
    {
      "version": "3.1.1",
      "format": "esm-only",
      "published": "2026-01-14T04:25:44.879Z"
    },
    {
      "version": "3.1.0",
      "format": "esm-only",
      "published": "2021-12-04T16:58:28.909Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2021-06-05T18:35:20.008Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2021-04-24T23:20:40.664Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2020-08-20T16:07:31.634Z"
    },
    {
      "version": "1.4.5",
      "format": "cjs",
      "published": "2020-08-20T15:54:04.191Z"
    },
    {
      "version": "1.4.4",
      "format": "cjs",
      "published": "2020-04-01T19:22:44.468Z"
    },
    {
      "version": "1.4.3",
      "format": "cjs",
      "published": "2019-12-29T16:45:32.460Z"
    },
    {
      "version": "1.4.2",
      "format": "cjs",
      "published": "2019-11-16T18:18:25.385Z"
    },
    {
      "version": "1.4.1",
      "format": "cjs",
      "published": "2019-09-05T17:27:22.403Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2019-09-05T17:23:53.610Z"
    },
    {
      "version": "1.3.2",
      "format": "cjs",
      "published": "2018-08-24T21:15:39.505Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2018-08-24T18:30:09.280Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2018-05-09T14:33:34.149Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2018-01-09T17:31:15.524Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2017-11-21T21:25:20.908Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2017-04-03T18:45:30.420Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2017-03-10T18:02:49.920Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2017-02-28T19:05:20.852Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2016-08-02T21:46:36.257Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2016-07-29T22:47:04.363Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-06-24T17:40:34.348Z"
    },
    {
      "version": "0.6.0",
      "format": "cjs",
      "published": "2016-06-08T00:09:16.233Z"
    },
    {
      "version": "0.5.1",
      "format": "cjs",
      "published": "2016-01-29T18:21:47.398Z"
    },
    {
      "version": "0.5.0",
      "format": "cjs",
      "published": "2016-01-07T21:51:35.947Z"
    },
    {
      "version": "0.4.2",
      "format": "cjs",
      "published": "2015-12-29T17:24:39.308Z"
    },
    {
      "version": "0.4.1",
      "format": "cjs",
      "published": "2015-12-18T21:39:21.135Z"
    },
    {
      "version": "0.4.0",
      "format": "cjs",
      "published": "2015-11-30T17:34:03.374Z"
    },
    {
      "version": "0.3.6",
      "format": "cjs",
      "published": "2015-11-11T19:07:52.774Z"
    },
    {
      "version": "0.3.5",
      "format": "cjs",
      "published": "2015-11-06T20:36:27.197Z"
    },
    {
      "version": "0.3.4",
      "format": "cjs",
      "published": "2015-11-04T07:25:00.868Z"
    },
    {
      "version": "0.3.3",
      "format": "cjs",
      "published": "2015-10-15T04:48:08.152Z"
    },
    {
      "version": "0.3.2",
      "format": "cjs",
      "published": "2015-09-12T02:10:57.549Z"
    },
    {
      "version": "0.3.1",
      "format": "cjs",
      "published": "2015-09-11T16:30:57.967Z"
    },
    {
      "version": "0.3.0",
      "format": "cjs",
      "published": "2015-07-30T17:50:56.458Z"
    },
    {
      "version": "0.2.3",
      "format": "cjs",
      "published": "2015-06-25T18:56:07.088Z"
    },
    {
      "version": "0.2.2",
      "format": "cjs",
      "published": "2015-06-19T22:07:26.381Z"
    },
    {
      "version": "0.2.1",
      "format": "cjs",
      "published": "2015-06-16T20:26:16.233Z"
    },
    {
      "version": "0.0.0",
      "format": "cjs",
      "published": "2014-03-29T21:51:01.145Z"
    }
  ]
}