clsx v2.1.1

npm

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

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

Weekly downloads

Release activity

1 release tracked. Last release: 136 days ago.

v2.1.1 current
v2.1.1 Feb 28, 2026

Last changed

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