npm package
Homeclassnames
Classnames is a utility for conditionally joining class names together, making it easier to manage CSS classes in JavaScript applications. It is particularly useful when you need to dynamically apply classes based on certain conditions. This package is ideal for projects that require flexible styling management in frameworks like React or when manipulating DOM elements directly.
- lurq health score
- 58/100
- Confidence
- unproven
- Weekly downloads
- 23,485,206
- Latest version
- 2.5.1
- Last release
- Dec 29, 2023
- License
- MIT
Should you depend on classnames?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks classnames at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading classnames
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 1.2.2 → 2.5.1being extracted
Other styling packages lurq scores
- @mui/private-theming94/100 · proven
- @mui/system93/100 · proven
- remeda92/100 · proven
- @internationalized/number91/100 · proven
- electron91/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 21, 2026; this page refreshes every 168 hours. Source repository.