clsx v2.1.1

npm

A tiny (239B) utility for constructing className strings conditionally.

Updated View on npm →
Version
2.1.1
70d ago
License
MIT
70d ago
Weekly Downloads
81.4M
57d ago
Dependencies
0
70d ago
Required Runtime
>=6
70d ago
Deprecated
No
70d ago

Weekly downloads

Release activity

1 release tracked. Last release: 91 days ago.

v2.1.1 current
v2.1.1 Feb 28, 2026

Last changed

Field Change When
weekly_downloads 50576248 81366733 57d ago
dep_count (none) 0 91d ago
deprecated (none) false 91d ago
required_runtime (none) >=6 91d ago
license (none) MIT 91d ago
latest_version (none) 2.1.1 91d 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)