{
  "name": "nth-check",
  "url": "https://canirequire.com/package/nth-check/",
  "description": "Parses and compiles CSS nth-checks to highly optimized functions.",
  "latest": "3.0.1",
  "latestPublished": "2026-03-17T23:12:57.654Z",
  "format": "esm-only",
  "summary": "nth-check@3.0.1 is ESM-only. nth-check dropped its CommonJS build in 3.0.0 (March 2026). The last version you can require() on every Node.js version, including 18 and older, is 2.1.1, published May 23, 2022. On Node.js 20.19+, 22.12+ and every newer release, require(\"nth-check\") 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. nth-check@3.0.1 declares engines \">=20.19.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "3.0.0",
  "esmOnlySinceDate": "2026-03-17T16:30:12.728Z",
  "lastCommonJsVersion": "2.1.1",
  "lastCommonJsDate": "2022-05-23T10:05:21.450Z",
  "nativeEsmSince": "2.1.0",
  "types": "bundled",
  "nodeEngines": ">=20.19.0",
  "deprecated": null,
  "license": "BSD-2-Clause",
  "repository": "https://github.com/fb55/nth-check",
  "weeklyDownloads": 49374687,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:14.751Z",
    "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.1",
      "format": "esm-only",
      "published": "2026-03-17T23:12:57.654Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2026-03-17T16:30:12.728Z"
    },
    {
      "version": "2.1.1",
      "format": "dual",
      "published": "2022-05-23T10:05:21.450Z"
    },
    {
      "version": "2.1.0",
      "format": "dual",
      "published": "2022-05-22T22:38:15.274Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2021-09-16T12:00:02.342Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2020-12-01T22:41:36.046Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2018-10-21T22:12:06.854Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2015-03-12T12:59:56.470Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-02-15T15:06:22.622Z"
    }
  ]
}