{
  "name": "cli-cursor",
  "url": "https://canirequire.com/package/cli-cursor/",
  "description": "Toggle the CLI cursor",
  "latest": "5.0.0",
  "latestPublished": "2024-07-26T14:02:26.233Z",
  "format": "esm-only",
  "summary": "cli-cursor@5.0.0 is ESM-only. cli-cursor dropped its CommonJS build in 4.0.0 (August 2021). The last version you can require() on every Node.js version, including 18 and older, is 3.1.0, published Jun 11, 2019. On Node.js 20.19+, 22.12+ and every newer release, require(\"cli-cursor\") 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": "4.0.0",
  "esmOnlySinceDate": "2021-08-23T19:35:19.940Z",
  "lastCommonJsVersion": "3.1.0",
  "lastCommonJsDate": "2019-06-11T16:57:35.876Z",
  "nativeEsmSince": "4.0.0",
  "types": "bundled",
  "nodeEngines": ">=18",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/cli-cursor",
  "weeklyDownloads": 107593401,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:44.182Z",
    "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": "2024-07-26T14:02:26.233Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2021-08-23T19:35:19.940Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2019-06-11T16:57:35.876Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-04-09T04:54:54.592Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2017-01-09T19:40:10.885Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2017-01-09T19:25:42.647Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2015-09-18T13:47:26.541Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2014-08-31T23:31:41.380Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-08-31T11:48:41.699Z"
    }
  ]
}