lurq

npm package

Home

clsx

clsx is a tiny utility for conditionally constructing className strings, ideal for managing dynamic class assignments in applications. It serves as a faster and smaller alternative to the classnames module, making it suitable for projects that require efficient class handling. With support for various input types, it simplifies the process of building class strings based on conditions.

lurq health score
53/100
Confidence
unproven
Weekly downloads
87,550,818
Latest version
2.1.1
Last release
Apr 23, 2024
License
MIT

Should you depend on clsx?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks clsx 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

Other styling packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 13, 2026; this page refreshes every 24 hours. Source repository.