{
  "name": "husky",
  "url": "https://canirequire.com/package/husky/",
  "description": "Modern native Git hooks",
  "latest": "9.1.7",
  "latestPublished": "2024-11-18T15:28:26.026Z",
  "format": "esm-only",
  "summary": "husky@9.1.7 is ESM-only. husky dropped its CommonJS build in 9.0.1 (January 2024). The last version you can require() on every Node.js version, including 18 and older, is 8.0.3, published Jan 3, 2023. On Node.js 20.19+, 22.12+ and every newer release, require(\"husky\") 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": "9.0.1",
  "esmOnlySinceDate": "2024-01-25T02:26:13.847Z",
  "lastCommonJsVersion": "8.0.3",
  "lastCommonJsDate": "2023-01-03T08:01:18.807Z",
  "nativeEsmSince": "9.0.1",
  "types": "bundled",
  "nodeEngines": ">=18",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/typicode/husky",
  "weeklyDownloads": 31977466,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:38.888Z",
    "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": "9.1.7",
      "format": "esm-only",
      "published": "2024-11-18T15:28:26.026Z"
    },
    {
      "version": "9.1.6",
      "format": "esm-only",
      "published": "2024-09-11T22:15:17.666Z"
    },
    {
      "version": "9.1.5",
      "format": "esm-only",
      "published": "2024-08-20T12:37:44.136Z"
    },
    {
      "version": "9.1.4",
      "format": "esm-only",
      "published": "2024-07-29T14:57:07.369Z"
    },
    {
      "version": "9.1.3",
      "format": "esm-only",
      "published": "2024-07-26T18:03:43.651Z"
    },
    {
      "version": "9.1.2",
      "format": "esm-only",
      "published": "2024-07-25T13:05:10.305Z"
    },
    {
      "version": "9.1.1",
      "format": "esm-only",
      "published": "2024-07-18T13:11:19.804Z"
    },
    {
      "version": "9.1.0",
      "format": "esm-only",
      "published": "2024-07-17T15:43:17.031Z"
    },
    {
      "version": "9.0.11",
      "format": "esm-only",
      "published": "2024-02-13T23:01:43.987Z"
    },
    {
      "version": "9.0.10",
      "format": "esm-only",
      "published": "2024-02-01T17:08:58.867Z"
    },
    {
      "version": "9.0.9",
      "format": "esm-only",
      "published": "2024-02-01T14:45:53.412Z"
    },
    {
      "version": "9.0.8",
      "format": "esm-only",
      "published": "2024-02-01T14:03:24.627Z"
    },
    {
      "version": "9.0.7",
      "format": "esm-only",
      "published": "2024-01-29T13:59:11.767Z"
    },
    {
      "version": "9.0.6",
      "format": "esm-only",
      "published": "2024-01-25T23:46:11.603Z"
    },
    {
      "version": "9.0.5",
      "format": "esm-only",
      "published": "2024-01-25T15:09:30.684Z"
    },
    {
      "version": "9.0.4",
      "format": "esm-only",
      "published": "2024-01-25T14:28:54.512Z"
    },
    {
      "version": "9.0.3",
      "format": "esm-only",
      "published": "2024-01-25T13:41:09.628Z"
    },
    {
      "version": "9.0.2",
      "format": "esm-only",
      "published": "2024-01-25T10:35:36.583Z"
    },
    {
      "version": "9.0.1",
      "format": "esm-only",
      "published": "2024-01-25T02:26:13.847Z"
    },
    {
      "version": "8.0.3",
      "format": "cjs",
      "published": "2023-01-03T08:01:18.807Z"
    },
    {
      "version": "8.0.2",
      "format": "cjs",
      "published": "2022-11-08T03:41:05.629Z"
    },
    {
      "version": "8.0.1",
      "format": "cjs",
      "published": "2022-05-09T09:57:11.549Z"
    },
    {
      "version": "8.0.0",
      "format": "cjs",
      "published": "2022-05-08T21:53:06.115Z"
    },
    {
      "version": "7.0.4",
      "format": "cjs",
      "published": "2021-10-21T02:13:58.435Z"
    },
    {
      "version": "7.0.3",
      "format": "cjs",
      "published": "2021-10-21T02:04:30.299Z"
    },
    {
      "version": "7.0.2",
      "format": "cjs",
      "published": "2021-08-25T01:23:49.010Z"
    },
    {
      "version": "7.0.1",
      "format": "cjs",
      "published": "2021-07-06T10:25:08.172Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2021-07-01T04:35:57.450Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2021-03-29T07:45:56.294Z"
    },
    {
      "version": "5.2.0",
      "format": "cjs",
      "published": "2021-03-21T19:09:45.829Z"
    },
    {
      "version": "5.1.3",
      "format": "cjs",
      "published": "2021-03-02T03:09:11.476Z"
    },
    {
      "version": "5.1.2",
      "format": "cjs",
      "published": "2021-03-01T01:46:50.806Z"
    },
    {
      "version": "5.1.1",
      "format": "cjs",
      "published": "2021-02-22T16:14:34.481Z"
    },
    {
      "version": "5.1.0",
      "format": "cjs",
      "published": "2021-02-21T21:41:37.881Z"
    },
    {
      "version": "5.0.9",
      "format": "cjs",
      "published": "2021-02-08T17:40:43.126Z"
    },
    {
      "version": "5.0.8",
      "format": "cjs",
      "published": "2021-01-28T00:32:55.529Z"
    },
    {
      "version": "5.0.7",
      "format": "cjs",
      "published": "2021-01-27T04:08:32.050Z"
    },
    {
      "version": "5.0.6",
      "format": "cjs",
      "published": "2020-12-11T23:42:56.782Z"
    },
    {
      "version": "5.0.5",
      "format": "cjs",
      "published": "2020-12-11T23:33:34.938Z"
    },
    {
      "version": "5.0.4",
      "format": "cjs",
      "published": "2020-11-22T05:42:26.428Z"
    },
    {
      "version": "5.0.3",
      "format": "cjs",
      "published": "2020-11-22T05:38:31.022Z"
    },
    {
      "version": "5.0.2",
      "format": "cjs",
      "published": "2020-11-22T04:51:53.800Z"
    },
    {
      "version": "5.0.1",
      "format": "cjs",
      "published": "2020-11-17T17:28:41.236Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2020-11-16T14:23:06.875Z"
    },
    {
      "version": "4.3.8",
      "format": "cjs",
      "published": "2021-01-15T23:16:03.425Z"
    },
    {
      "version": "4.3.7",
      "format": "cjs",
      "published": "2021-01-07T01:26:07.632Z"
    },
    {
      "version": "4.3.6",
      "format": "cjs",
      "published": "2020-12-13T17:06:37.475Z"
    },
    {
      "version": "4.3.5",
      "format": "cjs",
      "published": "2020-12-07T08:20:27.747Z"
    },
    {
      "version": "4.3.4",
      "format": "cjs",
      "published": "2020-12-05T11:19:37.814Z"
    },
    {
      "version": "4.3.3",
      "format": "cjs",
      "published": "2020-12-05T10:10:36.757Z"
    },
    {
      "version": "4.3.2",
      "format": "cjs",
      "published": "2020-12-05T10:09:05.495Z"
    },
    {
      "version": "4.3.1",
      "format": "cjs",
      "published": "2020-12-01T10:42:35.763Z"
    },
    {
      "version": "4.3.0",
      "format": "cjs",
      "published": "2020-09-07T09:56:06.339Z"
    },
    {
      "version": "4.2.5",
      "format": "cjs",
      "published": "2020-04-09T21:29:01.887Z"
    },
    {
      "version": "4.2.4",
      "format": "cjs",
      "published": "2020-04-09T16:31:51.387Z"
    },
    {
      "version": "4.2.3",
      "format": "cjs",
      "published": "2020-02-12T23:11:17.504Z"
    },
    {
      "version": "4.2.2",
      "format": "cjs",
      "published": "2020-02-12T03:27:08.468Z"
    },
    {
      "version": "4.2.1",
      "format": "cjs",
      "published": "2020-01-23T19:53:48.475Z"
    },
    {
      "version": "4.2.0",
      "format": "cjs",
      "published": "2020-01-21T21:53:28.472Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2020-01-21T20:07:48.684Z"
    }
  ]
}