{
  "name": "@tootallnate/once",
  "url": "https://canirequire.com/package/@tootallnate/once/",
  "description": "Creates a Promise that waits for a single event",
  "latest": "3.0.1",
  "latestPublished": "2026-02-09T18:19:37.836Z",
  "format": "esm-only",
  "summary": "@tootallnate/once@3.0.1 is ESM-only. @tootallnate/once dropped its CommonJS build in 3.0.0 (September 2021). The last version you can require() on every Node.js version, including 18 and older, is 2.0.1, published May 3, 2026. On Node.js 20.19+, 22.12+ and every newer release, require(\"@tootallnate/once\") 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-09-27T09:13:54.973Z",
  "lastCommonJsVersion": "2.0.1",
  "lastCommonJsDate": "2026-05-03T18:05:21.169Z",
  "nativeEsmSince": "3.0.0",
  "types": "bundled",
  "nodeEngines": ">= 10",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/TooTallNate/once",
  "weeklyDownloads": null,
  "runtime": {
    "verifiedAt": "2026-09-09T15:35:11.395Z",
    "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.0.1",
      "format": "esm-only",
      "published": "2026-02-09T18:19:37.836Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2021-09-27T09:13:54.973Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2026-05-03T18:05:21.169Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2021-09-22T23:50:52.041Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2020-04-21T15:40:59.696Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2020-04-20T23:30:59.787Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2020-04-20T22:27:59.335Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2020-02-08T23:48:05.016Z"
    }
  ]
}