lukeed/clsx
A tiny (239B) utility for constructing `className` strings conditionally.
GitHub(opens in a new tab)JavaScriptMIT9,838 stars
Summary
lukeed/clsx — A tiny (239B) utility for constructing `className` strings conditionally — is catalogued under Styling and design systems. As of 2026-09-16, lukeed/clsx is reviewed as evergreen: stable and still useful with little recent activity (latest non-bot commit 2024-04-23). Single-purpose className utility at a stable 2.x with no deprecation. Low recent commit activity is consistent with a finished scope rather than abandonment. RepoFacts publishes no health score for lukeed/clsx: evidence covers 46% of the methodology's weight, below the publishing minimum. Its npm package clsx averaged 16,517,232 downloads a day over the last 90 days, up 29% on the previous 90 days. Reviewed recommendation: adopt.
- Lifecycle on GitHub
- activeVerified
- Editorial status
- EvergreenApproved
- Recommendation
- AdoptApproved
- Last verified
- 2026-09-161 snapshot on record
Reviewed by cmartinzip on 2026-09-16; the rationale is in the summary above. Rule-derived status would be review required.
Health
Insufficient evidence
Evidence covers 46% of weight
Is it sustainable and safe enough to evaluate?
Momentum
Insufficient history
1 of 4 signal families have two comparable windows; a trend needs at least 2.
Is attention, adoption, or contribution growing?
Stack fit
Not evaluated
Stack Fit reads a saved technology profile. It arrives with the personalized Stack Fit phase; no score is shown until then.
Does it fit your runtime, database, and deployment?
- Strongest signal. Stability scores 100 — Primary package ≥ 1.0: clsx@2.1.1.
- Watch. Documentation scores 33 — Contributing guide: Missing.
Health dimensions
repofacts-health-v1No overall number is shown: evidence covers 46% of the methodology's weight, below the 50% minimum.
| Dimension | Weight | Score | Coverage | Signals |
|---|---|---|---|---|
| Maintenance | 20% | Not applicable | Not applicable | 0 of 3 scored
|
| Security posture | 20% | 0 | 25% | 1 of 4 scored
|
| Documentation | 12% | 33 | 100% | 3 of 3 scored
|
| Stability | 12% | 100 | 67% | 2 of 3 scored
|
| Community depth | 12% | Not applicable | Not applicable | 0 of 2 scored
|
| Dependency exposure | 10% | No evidence | 0% | 0 of 2 scored
|
| Operational burden | 8% | No evidence | 0% | 0 of 1 scored
|
| Governance | 6% | 33 | 100% | 3 of 3 scored
|
Momentum signals
repofacts-momentum-v0| Signal | Window | Current | Previous | Direction | Basis |
|---|---|---|---|---|---|
| Development | 91 days | 0 commits | 0 commits | Not measured | 0 commits in the last 13 weeks vs 0 in the 13 before. Includes bot commits. Previous-window baseline 0 is below the 26 floor, so a ratio would be a small-number artefact. |
| Contribution | 90 days | 0 contributors | 0 contributors | Not measured | 0 human contributors in the last 90 days vs 0 before. Previous-window baseline 0 is below the 3 floor, so a ratio would be a small-number artefact. |
| Adoption | 90 days | 16,517,232 downloads/day | 12,828,966 downloads/day | Rising (1.29×) | clsx: 16,517,232 downloads/day over the last 90 days vs 12,828,966 before. Registry counts include CI and mirrors. |
| Attention | — | — | — | Not measured | Star history accumulates from RepoFacts snapshots and needs 60 days of them. It is never reconstructed. |
Composite score withheld. A composite score is normalized within a category cohort of at least 8 repositories. This category has 1. Hidden Gem: not eligible — Composite momentum needs a category cohort of at least 8; this category has 1. Above the 5,000-star attention ceiling.
Packages
npm| Package | Latest | Identity | Downloads/day (90d) |
|---|---|---|---|
| clsx(opens in a new tab)primary | 2.1.1 | MatchedManifest repository is lukeed/clsx. | 16,517,232 |
No relationships are catalogued. Absence here is not a claim that none exist.
- Is lukeed/clsx still maintained?
- As of 2026-09-16, lukeed/clsx is reviewed as evergreen: stable and still useful with little recent activity (latest non-bot commit 2024-04-23). Single-purpose className utility at a stable 2.x with no deprecation. Low recent commit activity is consistent with a finished scope rather than abandonment.
- Is lukeed/clsx deprecated?
- No deprecation is recorded as of 2026-09-16: GitHub does not mark lukeed/clsx archived, and its npm package clsx (2.1.1) is not deprecated.
- How healthy is lukeed/clsx?
- RepoFacts publishes no health score for lukeed/clsx: evidence covers 46% of the methodology's weight, below the publishing minimum. The main watch item: Documentation scores 33 — Contributing guide: Missing.
- How widely is lukeed/clsx used?
- lukeed/clsx has 9,838 GitHub stars, which measure attention rather than use. Its npm package clsx averaged 16,517,232 downloads a day over the last 90 days, up 29% on the previous 90 days. Registry download counts include CI installs and mirrors. Checked 2026-09-16.
Evidence
snapshot 2026-09-16Every value collected for this profile, with its provenance. Source links are the API endpoints that answered. Unknown and unavailable values are shown as such and never counted as zero.
| Group | Field | Value | Provenance | Source and notes |
|---|---|---|---|---|
| Repository | Archived | No | Verified | https://api.github.com/repos/lukeed/clsx |
| Repository | Disabled | No | Verified | https://api.github.com/repos/lukeed/clsx |
| Repository | Fork | No | Verified | https://api.github.com/repos/lukeed/clsx |
| Repository | License (SPDX) | MIT | Verified | https://api.github.com/repos/lukeed/clsx |
| Repository | Default branch | master | Verified | https://api.github.com/repos/lukeed/clsx |
| Repository | Created | 2018-12-24 | Verified | https://api.github.com/repos/lukeed/clsx |
| Repository | Last push (any branch) | 2024-06-10 | Verified | https://api.github.com/repos/lukeed/clsxMoves on a push to any branch; not used as a maintenance signal. |
| Repository | Metadata updated | 2026-09-16 | Verified | https://api.github.com/repos/lukeed/clsxMoves on metadata edits; not used as a maintenance signal. |
| Attention | Stars | 9,838 | Verified | https://api.github.com/repos/lukeed/clsx |
| Attention | Forks | 184 | Verified | https://api.github.com/repos/lukeed/clsx |
| Attention | Watchers (subscribers) | 21 | Verified | https://api.github.com/repos/lukeed/clsx |
| Repository | Open issues + pull requests | 16 | Verified | https://api.github.com/repos/lukeed/clsxGitHub includes open pull requests in this count. |
| Activity | Latest default-branch commit | 2024-04-23 | Verified | https://api.github.com/repos/lukeed/clsx/commits?sha=master&per_page=100 |
| Activity | Latest non-bot commit | 2024-04-23 | Verified | https://api.github.com/repos/lukeed/clsx/commits?sha=master&per_page=100 |
| Activity | Commits, last 13 weeks | 0 | Verified | https://api.github.com/repos/lukeed/clsx/stats/commit_activityAll commits on the default branch, including bot commits. |
| Activity | Human contributors, last 90 days | 0 | Verified | https://api.github.com/repos/lukeed/clsx/commits?sha=master&since=2026-03-20T00%3A00%3A00.000Z&per_page=100Window 2026-03-20 → 2026-09-16Counts distinct non-bot commit authors on the default branch. Co-authors and non-commit contributions are not counted. |
| Activity | Human commits, last 90 days | 0 | Verified | https://api.github.com/repos/lukeed/clsx/commits?sha=master&since=2026-03-20T00%3A00%3A00.000Z&per_page=100Window 2026-03-20 → 2026-09-16Counts distinct non-bot commit authors on the default branch. Co-authors and non-commit contributions are not counted. |
| Activity | Bot commits, last 90 days | 0 | Verified | https://api.github.com/repos/lukeed/clsx/commits?sha=master&since=2026-03-20T00%3A00%3A00.000Z&per_page=100Window 2026-03-20 → 2026-09-16Counts distinct non-bot commit authors on the default branch. Co-authors and non-commit contributions are not counted. |
| Releases | Releases, last 365 days | 0 | Verified | https://api.github.com/repos/lukeed/clsx/releases?per_page=100GitHub releases only. Projects that publish solely to a package registry show none here. |
| Releases | Latest stable release | v2.1.1 (2024-04-23) | Verified | https://api.github.com/repos/lukeed/clsx/releases?per_page=100GitHub releases only. Projects that publish solely to a package registry show none here. |
| Community | GitHub community profile | 42% | Verified | https://api.github.com/repos/lukeed/clsx/community/profileDetects files in the default locations GitHub checks. |
| Security | Security policy | No | Verified | https://api.github.com/graphqlIncludes a policy inherited from the owner's .github repository. |
| npm · clsx | Latest version | 2.1.1 | Verified | https://registry.npmjs.org/clsx/latestThe manifest of the version tagged `latest`, which may be a prerelease. |
| npm · clsx | Deprecated | No | Verified | https://registry.npmjs.org/clsx/latestThe manifest of the version tagged `latest`, which may be a prerelease. |
| npm · clsx | Manifest repository | git+https://github.com/lukeed/clsx.git | Verified | https://registry.npmjs.org/clsx/latestThe manifest of the version tagged `latest`, which may be a prerelease. |
| npm · clsx | Downloads/day, last 90 days | 16,517,232 | Verified | https://api.npmjs.org/downloads/range/2025-03-17:2026-09-15/clsxWindow 2025-03-17 → 2026-09-14Registry download counts include CI installs, mirrors, and bots. Gap days are excluded, not counted as zero. |
| npm · clsx | Downloads/day, last 30 days | 17,327,130 | Verified | https://api.npmjs.org/downloads/range/2025-03-17:2026-09-15/clsxWindow 2025-03-17 → 2026-09-14Registry download counts include CI installs, mirrors, and bots. Gap days are excluded, not counted as zero. |
Collected 2026-09-16T21:22:25.441Z · repofacts-status-v0 · repofacts-health-v1 · repofacts-momentum-v0 · repofacts-taxonomy-v1 · inputs 7fedbf43c37f
Scores are decision support, not a warranty, certification, or security audit. How RepoFacts scores repositories. Spot an error? Send a correction with a source.