{
  "name": "xo",
  "url": "https://canirequire.com/package/xo/",
  "description": "JavaScript/TypeScript linter (ESLint wrapper) with great defaults",
  "latest": "4.0.0",
  "latestPublished": "2026-07-06T23:11:26.344Z",
  "format": "esm-only",
  "summary": "xo@4.0.0 is ESM-only. xo dropped its CommonJS build in 0.41.0 (July 2021). The last version you can require() on every Node.js version, including 18 and older, is 0.40.3, published Jun 21, 2021. require(\"xo\") fails even on Node.js 20.19+ / 22.12+ because the package uses top-level await, which require(esm) cannot load. Use import() instead. xo@4.0.0 declares engines \">=22\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "0.41.0",
  "esmOnlySinceDate": "2021-07-05T08:47:35.805Z",
  "lastCommonJsVersion": "0.40.3",
  "lastCommonJsDate": "2021-06-21T09:46:05.315Z",
  "nativeEsmSince": "0.41.0",
  "types": "bundled",
  "nodeEngines": ">=22",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/xojs/xo",
  "weeklyDownloads": 140804,
  "runtime": {
    "verifiedAt": "2026-09-09T15:33:18.784Z",
    "node": {
      "18": {
        "require": false,
        "import": false,
        "requireError": "ERR_REQUIRE_ESM",
        "importError": "SyntaxError"
      },
      "20": {
        "require": false,
        "import": false,
        "requireError": "ERR_REQUIRE_ASYNC_MODULE",
        "importError": "TypeError"
      },
      "22": {
        "require": false,
        "import": true,
        "requireError": "ERR_REQUIRE_ASYNC_MODULE",
        "importError": null
      },
      "24": {
        "require": false,
        "import": true,
        "requireError": "ERR_REQUIRE_ASYNC_MODULE",
        "importError": null
      },
      "26": {
        "require": false,
        "import": true,
        "requireError": "ERR_REQUIRE_ASYNC_MODULE",
        "importError": null
      }
    },
    "bun": {
      "require": false,
      "import": true,
      "requireError": "TypeError",
      "importError": null
    }
  },
  "formatHistory": [
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2026-07-06T23:11:26.344Z"
    },
    {
      "version": "3.0.2",
      "format": "esm-only",
      "published": "2026-06-19T07:54:21.528Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2026-06-18T00:08:59.517Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2026-06-16T22:57:58.776Z"
    },
    {
      "version": "2.0.2",
      "format": "esm-only",
      "published": "2026-03-14T19:32:15.300Z"
    },
    {
      "version": "2.0.1",
      "format": "esm-only",
      "published": "2026-03-14T18:17:06.239Z"
    },
    {
      "version": "2.0.0",
      "format": "esm-only",
      "published": "2026-03-14T08:11:05.937Z"
    },
    {
      "version": "1.2.3",
      "format": "esm-only",
      "published": "2025-10-07T02:06:21.612Z"
    },
    {
      "version": "1.2.2",
      "format": "esm-only",
      "published": "2025-08-15T11:26:53.807Z"
    },
    {
      "version": "1.2.1",
      "format": "esm-only",
      "published": "2025-07-18T11:14:35.231Z"
    },
    {
      "version": "1.2.0",
      "format": "esm-only",
      "published": "2025-07-17T13:47:35.209Z"
    },
    {
      "version": "1.1.1",
      "format": "esm-only",
      "published": "2025-06-23T21:34:15.915Z"
    },
    {
      "version": "1.1.0",
      "format": "esm-only",
      "published": "2025-06-07T16:21:20.254Z"
    },
    {
      "version": "1.0.5",
      "format": "esm-only",
      "published": "2025-05-31T11:29:05.430Z"
    },
    {
      "version": "1.0.4",
      "format": "esm-only",
      "published": "2025-05-30T18:42:35.533Z"
    },
    {
      "version": "1.0.3",
      "format": "esm-only",
      "published": "2025-05-30T11:00:55.681Z"
    },
    {
      "version": "1.0.2",
      "format": "esm-only",
      "published": "2025-05-30T10:57:20.930Z"
    },
    {
      "version": "1.0.1",
      "format": "esm-only",
      "published": "2025-05-29T21:23:13.653Z"
    },
    {
      "version": "1.0.0",
      "format": "esm-only",
      "published": "2025-05-23T12:15:48.420Z"
    },
    {
      "version": "0.61.1",
      "format": "esm-only",
      "published": "2025-05-23T12:13:35.384Z"
    },
    {
      "version": "0.61.0",
      "format": "esm-only",
      "published": "2025-05-23T12:07:40.147Z"
    },
    {
      "version": "0.60.0",
      "format": "esm-only",
      "published": "2024-12-06T13:59:18.447Z"
    },
    {
      "version": "0.59.3",
      "format": "esm-only",
      "published": "2024-07-28T12:36:44.530Z"
    },
    {
      "version": "0.59.2",
      "format": "esm-only",
      "published": "2024-07-23T14:47:59.233Z"
    },
    {
      "version": "0.59.1",
      "format": "esm-only",
      "published": "2024-07-23T12:11:58.585Z"
    },
    {
      "version": "0.59.0",
      "format": "esm-only",
      "published": "2024-07-18T14:19:07.261Z"
    },
    {
      "version": "0.58.0",
      "format": "esm-only",
      "published": "2024-03-08T16:23:28.902Z"
    },
    {
      "version": "0.57.0",
      "format": "esm-only",
      "published": "2024-02-06T07:54:04.773Z"
    },
    {
      "version": "0.56.0",
      "format": "esm-only",
      "published": "2023-08-12T14:30:04.074Z"
    },
    {
      "version": "0.55.1",
      "format": "esm-only",
      "published": "2023-08-07T12:43:49.503Z"
    },
    {
      "version": "0.55.0",
      "format": "esm-only",
      "published": "2023-07-15T15:47:03.833Z"
    },
    {
      "version": "0.54.2",
      "format": "esm-only",
      "published": "2023-04-28T08:27:59.347Z"
    },
    {
      "version": "0.54.1",
      "format": "esm-only",
      "published": "2023-04-11T09:08:37.594Z"
    },
    {
      "version": "0.54.0",
      "format": "esm-only",
      "published": "2023-04-05T03:46:27.966Z"
    },
    {
      "version": "0.53.1",
      "format": "esm-only",
      "published": "2022-11-20T07:50:21.628Z"
    },
    {
      "version": "0.53.0",
      "format": "esm-only",
      "published": "2022-11-16T18:51:36.906Z"
    },
    {
      "version": "0.52.4",
      "format": "esm-only",
      "published": "2022-10-04T12:15:14.670Z"
    },
    {
      "version": "0.52.3",
      "format": "esm-only",
      "published": "2022-08-31T10:28:38.414Z"
    },
    {
      "version": "0.52.2",
      "format": "esm-only",
      "published": "2022-08-26T04:35:35.815Z"
    },
    {
      "version": "0.52.1",
      "format": "esm-only",
      "published": "2022-08-25T16:19:21.651Z"
    },
    {
      "version": "0.52.0",
      "format": "esm-only",
      "published": "2022-08-25T04:00:28.889Z"
    },
    {
      "version": "0.51.0",
      "format": "esm-only",
      "published": "2022-07-21T08:18:06.502Z"
    },
    {
      "version": "0.50.0",
      "format": "esm-only",
      "published": "2022-06-10T07:08:08.705Z"
    },
    {
      "version": "0.49.0",
      "format": "esm-only",
      "published": "2022-05-17T06:43:37.662Z"
    },
    {
      "version": "0.48.0",
      "format": "esm-only",
      "published": "2022-02-09T12:44:09.060Z"
    },
    {
      "version": "0.47.0",
      "format": "esm-only",
      "published": "2021-11-26T08:55:18.147Z"
    },
    {
      "version": "0.46.4",
      "format": "esm-only",
      "published": "2021-11-03T15:19:51.779Z"
    },
    {
      "version": "0.46.3",
      "format": "esm-only",
      "published": "2021-10-28T08:41:37.401Z"
    },
    {
      "version": "0.46.2",
      "format": "esm-only",
      "published": "2021-10-28T08:39:51.046Z"
    },
    {
      "version": "0.46.1",
      "format": "esm-only",
      "published": "2021-10-28T06:38:14.195Z"
    },
    {
      "version": "0.46.0",
      "format": "esm-only",
      "published": "2021-10-27T16:01:47.220Z"
    },
    {
      "version": "0.45.0",
      "format": "esm-only",
      "published": "2021-10-02T09:29:09.735Z"
    },
    {
      "version": "0.44.0",
      "format": "esm-only",
      "published": "2021-08-08T10:48:14.452Z"
    },
    {
      "version": "0.43.0",
      "format": "esm-only",
      "published": "2021-08-03T14:22:21.839Z"
    },
    {
      "version": "0.42.0",
      "format": "esm-only",
      "published": "2021-07-16T15:56:39.800Z"
    },
    {
      "version": "0.41.0",
      "format": "esm-only",
      "published": "2021-07-05T08:47:35.805Z"
    },
    {
      "version": "0.40.3",
      "format": "cjs",
      "published": "2021-06-21T09:46:05.315Z"
    },
    {
      "version": "0.40.2",
      "format": "cjs",
      "published": "2021-06-02T09:15:45.861Z"
    },
    {
      "version": "0.40.1",
      "format": "cjs",
      "published": "2021-05-11T12:17:18.129Z"
    },
    {
      "version": "0.40.0",
      "format": "cjs",
      "published": "2021-05-09T11:20:05.610Z"
    }
  ]
}