{
  "name": "make-dir",
  "url": "https://canirequire.com/package/make-dir/",
  "description": "Make a directory and its parents if needed - Think `mkdir -p`",
  "latest": "5.1.0",
  "latestPublished": "2025-09-10T18:24:35.819Z",
  "format": "esm-only",
  "summary": "make-dir@5.1.0 is ESM-only. make-dir dropped its CommonJS build in 5.0.0 (May 2024). The last version you can require() on every Node.js version, including 18 and older, is 4.0.0, published Jun 23, 2023. On Node.js 20.19+, 22.12+ and every newer release, require(\"make-dir\") 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": "5.0.0",
  "esmOnlySinceDate": "2024-05-02T16:08:54.358Z",
  "lastCommonJsVersion": "4.0.0",
  "lastCommonJsDate": "2023-06-23T11:54:08.292Z",
  "nativeEsmSince": "5.0.0",
  "types": "bundled",
  "nodeEngines": ">=18",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/make-dir",
  "weeklyDownloads": 99108211,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:47.330Z",
    "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": "5.1.0",
      "format": "esm-only",
      "published": "2025-09-10T18:24:35.819Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2024-05-02T16:08:54.358Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2023-06-23T11:54:08.292Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2020-04-22T14:59:14.524Z"
    },
    {
      "version": "3.0.2",
      "format": "cjs",
      "published": "2020-02-12T20:11:01.785Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2020-02-12T17:39:49.297Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-04-01T09:27:30.052Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2019-03-03T19:40:20.829Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2019-02-04T05:37:29.131Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2018-05-10T13:52:55.437Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2018-02-19T07:26:44.932Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2017-10-22T06:21:08.477Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2017-05-09T18:34:33.547Z"
    }
  ]
}