{
  "name": "data-uri-to-buffer",
  "url": "https://canirequire.com/package/data-uri-to-buffer/",
  "description": "Create an ArrayBuffer instance from a Data URI string",
  "latest": "8.0.0",
  "latestPublished": "2026-04-01T06:57:37.124Z",
  "format": "esm-only",
  "summary": "data-uri-to-buffer@8.0.0 is ESM-only. data-uri-to-buffer dropped its CommonJS build in 7.0.0 (March 2026). The last version you can require() on every Node.js version, including 18 and older, is 6.0.2, published Feb 12, 2024. On Node.js 20.19+, 22.12+ and every newer release, require(\"data-uri-to-buffer\") 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. data-uri-to-buffer@8.0.0 declares engines \">= 20\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "7.0.0",
  "esmOnlySinceDate": "2026-03-11T16:58:27.424Z",
  "lastCommonJsVersion": "6.0.2",
  "lastCommonJsDate": "2024-02-12T18:24:17.563Z",
  "nativeEsmSince": "4.0.0",
  "types": "bundled",
  "nodeEngines": ">= 20",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/TooTallNate/proxy-agents",
  "weeklyDownloads": 69111967,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:02.019Z",
    "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": "8.0.0",
      "format": "esm-only",
      "published": "2026-04-01T06:57:37.124Z"
    },
    {
      "version": "7.0.0",
      "format": "esm-only",
      "published": "2026-03-11T16:58:27.424Z"
    },
    {
      "version": "6.0.2",
      "format": "cjs",
      "published": "2024-02-12T18:24:17.563Z"
    },
    {
      "version": "6.0.1",
      "format": "cjs",
      "published": "2023-09-30T14:49:57.761Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2023-09-30T14:29:51.307Z"
    },
    {
      "version": "5.0.1",
      "format": "cjs",
      "published": "2023-05-05T22:04:10.448Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2023-05-04T20:33:19.663Z"
    },
    {
      "version": "4.0.1",
      "format": "esm-only",
      "published": "2023-01-13T00:47:12.963Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2021-09-27T10:11:39.112Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2020-05-30T00:51:45.700Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-09-27T21:51:15.948Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2019-09-26T21:10:06.304Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2019-04-04T18:31:54.601Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2017-07-19T01:26:36.607Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2017-07-19T01:25:17.266Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2017-07-18T01:29:01.904Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2017-06-10T00:35:08.216Z"
    },
    {
      "version": "0.0.4",
      "format": "cjs",
      "published": "2015-06-29T20:04:15.846Z"
    },
    {
      "version": "0.0.3",
      "format": "cjs",
      "published": "2014-01-09T01:12:26.219Z"
    },
    {
      "version": "0.0.2",
      "format": "cjs",
      "published": "2014-01-09T00:19:25.592Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2014-01-03T00:53:10.915Z"
    }
  ]
}