# npm package clsx: version, licence, downloads, vulnerabilities

clsx 2.1.1 (MIT); 165,183,569 downloads in the last 7 days; 0 known vulnerabilities in the latest version (OSV); repository lukeed/clsx: 9,850 stars, last push 2024-06-10.

| Part | Value | Source (licence) | As of |
|---|---|---|---|
| Latest version | name: clsx, latest version: 2.1.1, license: MIT, description: A tiny (239B) utility for constructing className strings conditionally., dependencies: 0, node engine: >=6 | npm Registry (registry.npmjs.org, api.npmjs.org) (npm open source terms) | 2026-12-02T14:09:35.106Z |
| Downloads, last 7 days | 165,183,569 | npm Registry (registry.npmjs.org, api.npmjs.org) (npm open source terms) | 2026-12-02T14:09:35.106Z |
| Known vulnerabilities of the latest version | count: 0, ids:  | OSV.dev (licence of each advisory's source; npm advisories: GitHub Advisory Database (CC BY 4.0), OpenSSF Malicious Packages (Apache 2.0)) | 2026-12-02T14:09:35.106Z |
| Repository | full name: lukeed/clsx, stars: 9,850, open issues: 16, last push: 2024-06-10T15:48:22Z, archived: false | GitHub REST API (GitHub Terms of Service) | 2026-12-02T14:09:35.106Z |

Source: npm Registry (registry.npmjs.org, api.npmjs.org); OSV.dev; GitHub REST API. Licence: per part, see the table. Publisher pages: https://www.npmjs.com · https://osv.dev · https://github.com. Checked: 2026-12-02. As of: 2026-12-02T14:09:35.106Z (newest period of the parts).
Built from the publishers at most once per address and UTC day (after a failure again an hour later at the earliest), then served from our store. Fetched 2026-12-02T14:09:35.106Z. JSON: <https://api.agentdatahub.de/reports/npm/clsx.json> · Live with other parameters: <https://api.agentdatahub.de/api/v1/call/bundle-npm-package-brief?package=clsx>
Neighbours: [@typescript-eslint/eslint-plugin](https://api.agentdatahub.de/reports/npm/@typescript-eslint/eslint-plugin) · [playwright](https://api.agentdatahub.de/reports/npm/playwright) · [sharp](https://api.agentdatahub.de/reports/npm/sharp) · [rollup](https://api.agentdatahub.de/reports/npm/rollup)
