{
  "name": "clsx",
  "url": "https://canirequire.com/package/clsx/",
  "description": "A tiny (239B) utility for constructing className strings conditionally.",
  "latest": "2.1.1",
  "latestPublished": "2024-04-23T05:26:04.645Z",
  "format": "dual",
  "summary": "clsx@2.1.1 ships CommonJS and ESM builds. clsx publishes both a CommonJS entry and a native ESM entry (ESM added in 2.0.0). require(\"clsx\") and import \"clsx\" both work on every supported Node.js version and in Bun.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "2.1.1",
  "lastCommonJsDate": "2024-04-23T05:26:04.645Z",
  "nativeEsmSince": "2.0.0",
  "types": "bundled",
  "nodeEngines": ">=6",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/lukeed/clsx",
  "weeklyDownloads": 105456486,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:45.134Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "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": "2.1.1",
      "format": "dual",
      "published": "2024-04-23T05:26:04.645Z"
    },
    {
      "version": "2.1.0",
      "format": "dual",
      "published": "2023-12-29T20:34:39.095Z"
    },
    {
      "version": "2.0.1",
      "format": "dual",
      "published": "2023-12-29T19:28:49.499Z"
    },
    {
      "version": "2.0.0",
      "format": "dual",
      "published": "2023-07-15T23:58:53.464Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2022-07-06T00:06:46.535Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2022-07-02T23:08:04.349Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2020-05-30T06:26:08.917Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2020-02-03T19:59:25.791Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2019-04-06T23:27:36.425Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2019-02-18T19:46:35.782Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2019-02-03T20:39:37.942Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2019-01-11T19:18:27.009Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2018-12-25T09:17:37.860Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2018-12-24T22:41:29.334Z"
    }
  ]
}