{
  "name": "url-join",
  "url": "https://canirequire.com/package/url-join/",
  "description": "Join urls and normalize as in path.join.",
  "latest": "5.0.0",
  "latestPublished": "2022-03-23T21:03:24.801Z",
  "format": "esm-only",
  "summary": "url-join@5.0.0 is ESM-only. url-join dropped its CommonJS build in 5.0.0 (March 2022). The last version you can require() on every Node.js version, including 18 and older, is 4.0.1, published Jul 5, 2019. On Node.js 20.19+, 22.12+ and every newer release, require(\"url-join\") 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": "2022-03-23T21:03:24.801Z",
  "lastCommonJsVersion": "4.0.1",
  "lastCommonJsDate": "2019-07-05T14:45:32.627Z",
  "nativeEsmSince": "5.0.0",
  "types": "bundled",
  "nodeEngines": "^12.20.0 || ^14.13.1 || >=16.0.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/jfromaniello/url-join",
  "weeklyDownloads": 18581635,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:52.841Z",
    "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.0.0",
      "format": "esm-only",
      "published": "2022-03-23T21:03:24.801Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2019-07-05T14:45:32.627Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2018-02-02T13:29:29.743Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2018-01-17T13:06:49.696Z"
    },
    {
      "version": "2.0.5",
      "format": "cjs",
      "published": "2018-01-10T18:26:14.340Z"
    },
    {
      "version": "2.0.4",
      "format": "cjs",
      "published": "2018-01-10T15:44:01.602Z"
    },
    {
      "version": "2.0.3",
      "format": "cjs",
      "published": "2018-01-09T18:48:01.145Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2017-05-18T01:13:45.872Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2017-04-12T13:12:52.649Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2017-04-11T14:00:07.632Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2016-04-05T11:47:48.154Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-03-23T13:07:31.637Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2013-01-29T15:47:55.916Z"
    }
  ]
}