{
  "name": "tinybench",
  "url": "https://canirequire.com/package/tinybench/",
  "description": "🔎 A simple, tiny and lightweight benchmarking library!",
  "latest": "6.1.6",
  "latestPublished": "2026-09-05T12:50:38.577Z",
  "format": "esm-only",
  "summary": "tinybench@6.1.6 is ESM-only. tinybench dropped its CommonJS build in 4.0.0 (March 2025). The last version you can require() on every Node.js version, including 18 and older, is 3.1.1, published Jan 29, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"tinybench\") 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. tinybench@6.1.6 declares engines \">=20.0.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "4.0.0",
  "esmOnlySinceDate": "2025-03-18T10:53:42.626Z",
  "lastCommonJsVersion": "3.1.1",
  "lastCommonJsDate": "2025-01-29T18:57:25.965Z",
  "nativeEsmSince": "2.0.1",
  "types": "bundled",
  "nodeEngines": ">=20.0.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "tinylibs/tinybench",
  "weeklyDownloads": 62439897,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:05.993Z",
    "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": "6.1.6",
      "format": "esm-only",
      "published": "2026-09-05T12:50:38.577Z"
    },
    {
      "version": "6.1.5",
      "format": "esm-only",
      "published": "2026-09-04T12:56:15.413Z"
    },
    {
      "version": "6.1.4",
      "format": "esm-only",
      "published": "2026-08-28T21:56:22.883Z"
    },
    {
      "version": "6.1.3",
      "format": "esm-only",
      "published": "2026-08-10T14:46:50.983Z"
    },
    {
      "version": "6.1.2",
      "format": "esm-only",
      "published": "2026-07-23T12:02:47.538Z"
    },
    {
      "version": "6.1.1",
      "format": "esm-only",
      "published": "2026-07-22T22:21:56.617Z"
    },
    {
      "version": "6.1.0",
      "format": "esm-only",
      "published": "2026-07-22T21:40:13.362Z"
    },
    {
      "version": "6.0.3",
      "format": "esm-only",
      "published": "2026-07-22T21:29:42.523Z"
    },
    {
      "version": "6.0.2",
      "format": "esm-only",
      "published": "2026-05-13T17:22:28.518Z"
    },
    {
      "version": "6.0.1",
      "format": "esm-only",
      "published": "2026-04-28T17:47:33.968Z"
    },
    {
      "version": "6.0.0",
      "format": "esm-only",
      "published": "2025-12-01T17:06:34.241Z"
    },
    {
      "version": "5.1.0",
      "format": "esm-only",
      "published": "2025-10-24T21:58:03.674Z"
    },
    {
      "version": "5.0.1",
      "format": "esm-only",
      "published": "2025-08-23T15:15:22.052Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2025-08-15T16:53:46.427Z"
    },
    {
      "version": "4.1.0",
      "format": "esm-only",
      "published": "2025-08-13T11:14:28.883Z"
    },
    {
      "version": "4.0.1",
      "format": "esm-only",
      "published": "2025-03-18T11:08:12.888Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2025-03-18T10:53:42.626Z"
    },
    {
      "version": "3.1.1",
      "format": "dual",
      "published": "2025-01-29T18:57:25.965Z"
    },
    {
      "version": "3.1.0",
      "format": "dual",
      "published": "2024-12-23T10:49:44.504Z"
    },
    {
      "version": "3.0.7",
      "format": "dual",
      "published": "2024-12-02T11:54:35.773Z"
    },
    {
      "version": "3.0.6",
      "format": "dual",
      "published": "2024-11-14T18:52:08.062Z"
    },
    {
      "version": "3.0.5",
      "format": "dual",
      "published": "2024-11-13T17:06:41.590Z"
    },
    {
      "version": "3.0.4",
      "format": "dual",
      "published": "2024-11-11T21:53:48.778Z"
    },
    {
      "version": "3.0.3",
      "format": "dual",
      "published": "2024-10-29T22:15:48.613Z"
    },
    {
      "version": "3.0.2",
      "format": "dual",
      "published": "2024-10-29T21:44:11.494Z"
    },
    {
      "version": "3.0.1",
      "format": "dual",
      "published": "2024-10-29T21:39:49.348Z"
    },
    {
      "version": "3.0.0",
      "format": "dual",
      "published": "2024-10-27T17:11:32.741Z"
    },
    {
      "version": "2.9.0",
      "format": "dual",
      "published": "2024-08-02T15:09:44.961Z"
    },
    {
      "version": "2.8.0",
      "format": "dual",
      "published": "2024-04-21T08:31:59.668Z"
    },
    {
      "version": "2.7.0",
      "format": "dual",
      "published": "2024-04-14T09:43:29.227Z"
    },
    {
      "version": "2.6.0",
      "format": "dual",
      "published": "2024-01-16T04:37:55.296Z"
    },
    {
      "version": "2.5.1",
      "format": "dual",
      "published": "2023-09-12T04:47:32.088Z"
    },
    {
      "version": "2.5.0",
      "format": "dual",
      "published": "2023-04-29T14:27:37.603Z"
    },
    {
      "version": "2.4.0",
      "format": "dual",
      "published": "2023-03-04T05:38:50.515Z"
    },
    {
      "version": "2.3.1",
      "format": "dual",
      "published": "2022-10-18T15:17:04.899Z"
    },
    {
      "version": "2.3.0",
      "format": "dual",
      "published": "2022-10-04T18:58:14.676Z"
    },
    {
      "version": "2.2.1",
      "format": "dual",
      "published": "2022-09-29T06:57:12.386Z"
    },
    {
      "version": "2.2.0",
      "format": "dual",
      "published": "2022-09-28T20:02:31.277Z"
    },
    {
      "version": "2.1.5",
      "format": "dual",
      "published": "2022-09-06T11:01:56.164Z"
    },
    {
      "version": "2.1.4",
      "format": "dual",
      "published": "2022-09-02T07:36:04.556Z"
    },
    {
      "version": "2.1.3",
      "format": "dual",
      "published": "2022-08-29T14:26:39.817Z"
    },
    {
      "version": "2.1.2",
      "format": "dual",
      "published": "2022-08-29T12:45:37.090Z"
    },
    {
      "version": "2.1.1",
      "format": "dual",
      "published": "2022-08-27T05:53:11.730Z"
    },
    {
      "version": "2.1.0",
      "format": "dual",
      "published": "2022-08-26T09:25:18.246Z"
    },
    {
      "version": "2.0.9",
      "format": "dual",
      "published": "2022-08-25T02:47:19.290Z"
    },
    {
      "version": "2.0.8",
      "format": "dual",
      "published": "2022-08-24T13:36:05.174Z"
    },
    {
      "version": "2.0.7",
      "format": "dual",
      "published": "2022-08-24T12:11:32.837Z"
    },
    {
      "version": "2.0.6",
      "format": "dual",
      "published": "2022-08-24T11:42:51.111Z"
    },
    {
      "version": "2.0.5",
      "format": "dual",
      "published": "2022-08-24T11:35:19.754Z"
    },
    {
      "version": "2.0.4",
      "format": "dual",
      "published": "2022-08-24T11:25:23.881Z"
    },
    {
      "version": "2.0.1",
      "format": "dual",
      "published": "2022-08-24T11:19:40.825Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2022-05-17T12:05:39.664Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2022-05-15T15:16:40.053Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2022-04-29T11:34:05.220Z"
    }
  ]
}