{
  "name": "readdirp",
  "url": "https://canirequire.com/package/readdirp/",
  "description": "Recursive version of fs.readdir with small RAM & CPU footprint",
  "latest": "5.1.1",
  "latestPublished": "2026-08-06T06:26:38.975Z",
  "format": "esm-only",
  "summary": "readdirp@5.1.1 is ESM-only. readdirp dropped its CommonJS build in 5.0.0 (November 2025). The last version you can require() on every Node.js version, including 18 and older, is 4.1.2, published Feb 14, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"readdirp\") 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. readdirp@5.1.1 declares engines \">= 20.19.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "5.0.0",
  "esmOnlySinceDate": "2025-11-25T23:11:27.476Z",
  "lastCommonJsVersion": "4.1.2",
  "lastCommonJsDate": "2025-02-14T17:27:21.994Z",
  "nativeEsmSince": "4.0.0",
  "types": "bundled",
  "nodeEngines": ">= 20.19.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/paulmillr/readdirp",
  "weeklyDownloads": 141995868,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:38.358Z",
    "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.1",
      "format": "esm-only",
      "published": "2026-08-06T06:26:38.975Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2025-11-25T23:11:27.476Z"
    },
    {
      "version": "4.1.2",
      "format": "dual",
      "published": "2025-02-14T17:27:21.994Z"
    },
    {
      "version": "4.1.1",
      "format": "dual",
      "published": "2025-01-11T17:51:35.641Z"
    },
    {
      "version": "4.1.0",
      "format": "dual",
      "published": "2025-01-11T16:30:32.431Z"
    },
    {
      "version": "4.0.2",
      "format": "dual",
      "published": "2024-10-03T14:32:25.960Z"
    },
    {
      "version": "4.0.1",
      "format": "dual",
      "published": "2024-08-25T19:57:37.090Z"
    },
    {
      "version": "4.0.0",
      "format": "dual",
      "published": "2024-08-25T19:51:30.850Z"
    },
    {
      "version": "3.6.0",
      "format": "cjs",
      "published": "2021-03-14T10:22:31.129Z"
    },
    {
      "version": "3.5.0",
      "format": "cjs",
      "published": "2020-10-13T10:17:57.720Z"
    },
    {
      "version": "3.4.0",
      "format": "cjs",
      "published": "2020-03-19T09:59:49.025Z"
    },
    {
      "version": "3.3.0",
      "format": "cjs",
      "published": "2019-12-06T10:56:38.944Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2019-10-14T00:04:52.884Z"
    },
    {
      "version": "3.1.3",
      "format": "cjs",
      "published": "2019-10-01T02:29:30.949Z"
    },
    {
      "version": "3.1.2",
      "format": "cjs",
      "published": "2019-08-14T14:03:43.139Z"
    },
    {
      "version": "3.1.1",
      "format": "cjs",
      "published": "2019-07-06T23:53:14.423Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2019-07-06T23:49:31.019Z"
    },
    {
      "version": "3.0.3",
      "format": "cjs",
      "published": "2019-07-05T23:47:06.235Z"
    },
    {
      "version": "3.0.2",
      "format": "cjs",
      "published": "2019-06-02T21:50:36.246Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2019-04-24T21:56:48.947Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-04-17T17:49:33.406Z"
    },
    {
      "version": "2.2.1",
      "format": "cjs",
      "published": "2018-09-13T17:10:45.627Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2018-09-13T16:01:40.496Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2016-06-27T18:57:01.706Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2016-06-22T17:50:05.562Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-08-25T20:09:10.272Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2015-07-21T18:40:39.811Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2014-12-12T21:22:09.908Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2014-12-01T21:09:56.324Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2014-06-11T15:16:06.903Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2014-03-30T03:37:40.737Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-03-30T03:01:35.038Z"
    },
    {
      "version": "0.4.0",
      "format": "cjs",
      "published": "2014-03-29T22:51:01.775Z"
    },
    {
      "version": "0.3.3",
      "format": "cjs",
      "published": "2014-01-13T15:35:44.575Z"
    },
    {
      "version": "0.3.2",
      "format": "cjs",
      "published": "2013-12-15T22:54:33.167Z"
    },
    {
      "version": "0.3.1",
      "format": "cjs",
      "published": "2013-07-17T12:33:55.195Z"
    },
    {
      "version": "0.3.0",
      "format": "cjs",
      "published": "2013-06-22T14:36:39.116Z"
    },
    {
      "version": "0.2.5",
      "format": "cjs",
      "published": "2013-06-22T01:42:42.820Z"
    },
    {
      "version": "0.2.4",
      "format": "cjs",
      "published": "2013-03-19T02:27:47.074Z"
    },
    {
      "version": "0.2.3",
      "format": "cjs",
      "published": "2013-01-19T05:25:00.867Z"
    },
    {
      "version": "0.2.2",
      "format": "cjs",
      "published": "2012-12-31T20:16:55.863Z"
    },
    {
      "version": "0.2.1",
      "format": "cjs",
      "published": "2012-10-09T01:28:45.122Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2012-10-07T22:23:32.951Z"
    },
    {
      "version": "0.1.4",
      "format": "cjs",
      "published": "2012-09-16T00:10:43.993Z"
    },
    {
      "version": "0.1.3",
      "format": "cjs",
      "published": "2012-09-13T03:01:41.172Z"
    },
    {
      "version": "0.1.2",
      "format": "cjs",
      "published": "2012-09-13T02:55:04.808Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2012-07-18T12:08:10.372Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2012-07-18T11:44:11.200Z"
    }
  ]
}