{
  "name": "@csstools/css-tokenizer",
  "url": "https://canirequire.com/package/@csstools/css-tokenizer/",
  "description": "Tokenize CSS",
  "latest": "4.0.0",
  "latestPublished": "2026-01-14T07:14:15.368Z",
  "format": "esm-only",
  "summary": "@csstools/css-tokenizer@4.0.0 is ESM-only. @csstools/css-tokenizer dropped its CommonJS build in 4.0.0 (January 2026). The last version you can require() on every Node.js version, including 18 and older, is 3.0.4, published May 27, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"@csstools/css-tokenizer\") 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. @csstools/css-tokenizer@4.0.0 declares engines \">=20.19.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "4.0.0",
  "esmOnlySinceDate": "2026-01-14T07:14:15.368Z",
  "lastCommonJsVersion": "3.0.4",
  "lastCommonJsDate": "2025-05-27T10:45:29.932Z",
  "nativeEsmSince": "1.0.0",
  "types": "bundled",
  "nodeEngines": ">=20.19.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/csstools/postcss-plugins",
  "weeklyDownloads": null,
  "runtime": {
    "verifiedAt": "2026-09-09T15:35:14.448Z",
    "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": "4.0.0",
      "format": "esm-only",
      "published": "2026-01-14T07:14:15.368Z"
    },
    {
      "version": "3.0.4",
      "format": "dual",
      "published": "2025-05-27T10:45:29.932Z"
    },
    {
      "version": "3.0.3",
      "format": "dual",
      "published": "2024-10-25T22:22:27.438Z"
    },
    {
      "version": "3.0.2",
      "format": "dual",
      "published": "2024-10-10T12:24:38.682Z"
    },
    {
      "version": "3.0.1",
      "format": "dual",
      "published": "2024-08-18T13:50:40.785Z"
    },
    {
      "version": "3.0.0",
      "format": "dual",
      "published": "2024-08-03T21:27:07.479Z"
    },
    {
      "version": "2.4.1",
      "format": "dual",
      "published": "2024-07-05T12:17:35.960Z"
    },
    {
      "version": "2.4.0",
      "format": "dual",
      "published": "2024-07-05T12:04:43.861Z"
    },
    {
      "version": "2.3.3",
      "format": "dual",
      "published": "2024-07-03T14:22:10.672Z"
    },
    {
      "version": "2.3.2",
      "format": "dual",
      "published": "2024-06-29T21:57:42.890Z"
    },
    {
      "version": "2.3.1",
      "format": "dual",
      "published": "2024-05-04T21:12:38.105Z"
    },
    {
      "version": "2.3.0",
      "format": "dual",
      "published": "2024-05-04T16:05:32.682Z"
    },
    {
      "version": "2.2.4",
      "format": "dual",
      "published": "2024-03-13T18:45:31.718Z"
    },
    {
      "version": "2.2.3",
      "format": "dual",
      "published": "2023-12-31T16:29:29.593Z"
    },
    {
      "version": "2.2.2",
      "format": "dual",
      "published": "2023-12-15T23:14:50.250Z"
    },
    {
      "version": "2.2.1",
      "format": "dual",
      "published": "2023-09-24T19:43:28.998Z"
    },
    {
      "version": "2.2.0",
      "format": "dual",
      "published": "2023-07-24T16:17:38.302Z"
    },
    {
      "version": "2.1.1",
      "format": "dual",
      "published": "2023-04-10T10:48:02.169Z"
    },
    {
      "version": "2.1.0",
      "format": "dual",
      "published": "2023-02-21T11:42:56.628Z"
    },
    {
      "version": "2.0.2",
      "format": "dual",
      "published": "2023-02-13T14:24:12.649Z"
    },
    {
      "version": "2.0.1",
      "format": "dual",
      "published": "2023-01-28T07:21:20.974Z"
    },
    {
      "version": "2.0.0",
      "format": "dual",
      "published": "2023-01-19T18:46:21.526Z"
    },
    {
      "version": "1.0.0",
      "format": "dual",
      "published": "2022-11-14T09:45:20.857Z"
    }
  ]
}