{
  "name": "is-binary-path",
  "url": "https://canirequire.com/package/is-binary-path/",
  "description": "Check if a file path is a binary file",
  "latest": "3.0.0",
  "latestPublished": "2024-04-30T16:50:25.858Z",
  "format": "esm-only",
  "summary": "is-binary-path@3.0.0 is ESM-only. is-binary-path dropped its CommonJS build in 3.0.0 (April 2024). The last version you can require() on every Node.js version, including 18 and older, is 2.1.0, published Apr 19, 2019. On Node.js 20.19+, 22.12+ and every newer release, require(\"is-binary-path\") 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": "3.0.0",
  "esmOnlySinceDate": "2024-04-30T16:50:25.858Z",
  "lastCommonJsVersion": "2.1.0",
  "lastCommonJsDate": "2019-04-19T04:42:45.772Z",
  "nativeEsmSince": "3.0.0",
  "types": "bundled",
  "nodeEngines": ">=18.20",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/is-binary-path",
  "weeklyDownloads": 47087849,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:18.280Z",
    "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": "3.0.0",
      "format": "esm-only",
      "published": "2024-04-30T16:50:25.858Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2019-04-19T04:42:45.772Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2019-03-27T12:14:17.036Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2016-09-14T11:52:57.308Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2015-05-25T11:32:32.616Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-01-24T09:13:13.344Z"
    }
  ]
}