{
  "name": "is-generator-function",
  "url": "https://canirequire.com/package/is-generator-function/",
  "description": "Determine if a function is a native generator function.",
  "latest": "1.1.2",
  "latestPublished": "2025-09-30T18:41:14.522Z",
  "format": "cjs",
  "summary": "is-generator-function@1.1.2 is a CommonJS package. is-generator-function ships CommonJS only. require(\"is-generator-function\") works everywhere. import \"is-generator-function\" also works because Node.js and Bun can import CommonJS from ES modules, but only the default export is guaranteed; named imports depend on Node's static analysis of the module.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "1.1.2",
  "lastCommonJsDate": "2025-09-30T18:41:14.522Z",
  "nativeEsmSince": null,
  "types": "bundled",
  "nodeEngines": ">= 0.4",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/inspect-js/is-generator-function",
  "weeklyDownloads": 81703116,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:52.800Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "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": "1.1.2",
      "format": "cjs",
      "published": "2025-09-30T18:41:14.522Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2025-09-29T17:04:39.142Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2025-01-02T18:19:09.453Z"
    },
    {
      "version": "1.0.10",
      "format": "cjs",
      "published": "2021-08-06T05:27:57.932Z"
    },
    {
      "version": "1.0.9",
      "format": "cjs",
      "published": "2021-05-06T05:54:19.287Z"
    },
    {
      "version": "1.0.8",
      "format": "cjs",
      "published": "2020-12-02T17:02:45.888Z"
    },
    {
      "version": "1.0.7",
      "format": "cjs",
      "published": "2017-12-28T22:20:32.180Z"
    },
    {
      "version": "1.0.6",
      "format": "cjs",
      "published": "2016-12-20T18:36:07.977Z"
    },
    {
      "version": "1.0.5",
      "format": "cjs",
      "published": "2016-12-20T07:59:50.409Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2016-12-20T17:50:07.483Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2015-01-31T18:38:48.120Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2015-01-20T08:14:38.587Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2014-12-15T07:53:14.046Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-08-09T16:54:28.481Z"
    },
    {
      "version": "0.0.0",
      "format": "cjs",
      "published": "2014-02-10T05:57:44.946Z"
    }
  ]
}