{
  "name": "pre-commit",
  "url": "https://canirequire.com/package/pre-commit/",
  "description": "Automatically install pre-commit hooks for your npm modules.",
  "latest": "2.0.0",
  "latestPublished": "2026-04-28T14:32:29.659Z",
  "format": "cjs",
  "summary": "pre-commit@2.0.0 is a CommonJS package. pre-commit ships CommonJS only. require(\"pre-commit\") works everywhere. import \"pre-commit\" 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": "2.0.0",
  "lastCommonJsDate": "2026-04-28T14:32:29.659Z",
  "nativeEsmSince": null,
  "types": "none",
  "nodeEngines": ">=16.13.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/observing/pre-commit",
  "weeklyDownloads": 359668,
  "runtime": {
    "verifiedAt": "2026-09-09T15:32:34.963Z",
    "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": "2.0.0",
      "format": "cjs",
      "published": "2026-04-28T14:32:29.659Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2016-12-13T12:03:29.029Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2016-12-12T00:18:25.686Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2016-12-09T12:08:05.875Z"
    },
    {
      "version": "1.1.3",
      "format": "cjs",
      "published": "2016-05-10T13:31:57.288Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2015-10-20T09:19:35.686Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2015-07-31T12:15:21.135Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2015-07-31T09:12:56.940Z"
    },
    {
      "version": "1.0.10",
      "format": "cjs",
      "published": "2015-06-10T12:45:25.302Z"
    },
    {
      "version": "1.0.9",
      "format": "cjs",
      "published": "2015-06-10T09:49:52.276Z"
    },
    {
      "version": "1.0.8",
      "format": "cjs",
      "published": "2015-06-09T15:59:48.460Z"
    },
    {
      "version": "1.0.7",
      "format": "cjs",
      "published": "2015-04-28T07:01:25.521Z"
    },
    {
      "version": "1.0.6",
      "format": "cjs",
      "published": "2015-03-05T18:29:58.495Z"
    },
    {
      "version": "1.0.5",
      "format": "cjs",
      "published": "2015-02-24T23:21:47.920Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2015-02-14T17:50:44.383Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2015-02-13T08:44:30.827Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2015-02-02T11:58:19.442Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2015-01-30T21:20:16.597Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-01-30T20:40:22.806Z"
    },
    {
      "version": "0.0.11",
      "format": "cjs",
      "published": "2015-01-16T18:40:12.488Z"
    },
    {
      "version": "0.0.10",
      "format": "cjs",
      "published": "2015-01-15T08:22:10.530Z"
    },
    {
      "version": "0.0.9",
      "format": "cjs",
      "published": "2014-06-26T08:54:17.567Z"
    },
    {
      "version": "0.0.8",
      "format": "cjs",
      "published": "2014-06-17T08:37:19.215Z"
    },
    {
      "version": "0.0.7",
      "format": "cjs",
      "published": "2014-04-10T21:34:15.602Z"
    },
    {
      "version": "0.0.6",
      "format": "cjs",
      "published": "2014-04-10T18:14:44.273Z"
    },
    {
      "version": "0.0.5",
      "format": "cjs",
      "published": "2014-04-02T07:28:51.618Z"
    },
    {
      "version": "0.0.4",
      "format": "cjs",
      "published": "2013-06-27T13:01:50.207Z"
    },
    {
      "version": "0.0.3",
      "format": "cjs",
      "published": "2013-05-02T15:45:36.080Z"
    },
    {
      "version": "0.0.2",
      "format": "cjs",
      "published": "2013-04-10T17:32:27.175Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2013-04-10T15:35:11.370Z"
    },
    {
      "version": "0.0.0",
      "format": "cjs",
      "published": "2013-04-10T11:03:31.478Z"
    }
  ]
}