clsx v2.1.1
npmA tiny (239B) utility for constructing className strings conditionally.
Updated
View on npm →
Version
2.1.1
15d ago
License
MIT
15d ago
Weekly Downloads
81.4M
2d ago
Dependencies
0
15d ago
Required Runtime
>=6
15d ago
Deprecated
No
15d ago
Weekly downloads
Release activity
1 release tracked. Last release: 35 days ago.
v2.1.1
current
v2.1.1
Feb 28, 2026
Last changed
| Field | Change | When |
|---|---|---|
| weekly_downloads | 50576248 → 81366733 | 2d ago |
| dep_count | (none) → 0 | 35d ago |
| deprecated | (none) → false | 35d ago |
| required_runtime | (none) → >=6 | 35d ago |
| license | (none) → MIT | 35d ago |
| latest_version | (none) → 2.1.1 | 35d ago |
Use it
REST API
$ curl
https://api.grounded-api.dev/v1/npm/clsx/latest_version
{ "value": "2.1.1" }
CLI
$ npx grounded-cli clsx
clsx@2.1.1 (npm)