lukeed/clsx
A tiny (239B) utility for constructing `className` strings conditionally.
GitHub(opens in a new tab)JavaScriptMIT9,851 stars
Summary
lukeed/clsx — A tiny (239B) utility for constructing `className` strings conditionally — is catalogued under Styling and design systems. As of 2026-11-01, 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 18,926,030 downloads a day over the last 90 days, up 25% on the previous 90 days. Reviewed recommendation: adopt.
- Lifecycle on GitHub
- activeVerified
- Editorial status
- EvergreenApproved
- Recommendation
- AdoptApproved
- Last verified
- 2026-11-0147 snapshots 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.
Activity and adoption
weekly, last 52 weeksCommits per week
Latest week (2026-11-01): 0 commits
GitHub commit activity on the default branch, including bot commits. The newest week is still in progress and drawn lighter.
Show data table
| Week of | Commits |
|---|---|
| 2026-11-01 | 0 (partial) |
| 2026-10-25 | 0 |
| 2026-10-18 | 0 |
| 2026-10-11 | 0 |
| 2026-10-04 | 0 |
| 2026-09-27 | 0 |
| 2026-09-20 | 0 |
| 2026-09-13 | 0 |
| 2026-09-06 | 0 |
| 2026-08-30 | 0 |
| 2026-08-23 | 0 |
| 2026-08-16 | 0 |
| 2026-08-09 | 0 |
| 2026-08-02 | 0 |
| 2026-07-26 | 0 |
| 2026-07-19 | 0 |
| 2026-07-12 | 0 |
| 2026-07-05 | 0 |
| 2026-06-28 | 0 |
| 2026-06-21 | 0 |
| 2026-06-14 | 0 |
| 2026-06-07 | 0 |
| 2026-05-31 | 0 |
| 2026-05-24 | 0 |
| 2026-05-17 | 0 |
| 2026-05-10 | 0 |
| 2026-05-03 | 0 |
| 2026-04-26 | 0 |
| 2026-04-19 | 0 |
| 2026-04-12 | 0 |
| 2026-04-05 | 0 |
| 2026-03-29 | 0 |
| 2026-03-22 | 0 |
| 2026-03-15 | 0 |
| 2026-03-08 | 0 |
| 2026-03-01 | 0 |
| 2026-02-22 | 0 |
| 2026-02-15 | 0 |
| 2026-02-08 | 0 |
| 2026-02-01 | 0 |
| 2026-01-25 | 0 |
| 2026-01-18 | 0 |
| 2026-01-11 | 0 |
| 2026-01-04 | 0 |
| 2025-12-28 | 0 |
| 2025-12-21 | 0 |
| 2025-12-14 | 0 |
| 2025-12-07 | 0 |
| 2025-11-30 | 0 |
| 2025-11-23 | 0 |
| 2025-11-16 | 0 |
| 2025-11-09 | 0 |
npm downloads per week · clsx
Latest week (2026-10-23): 159,462,650 downloads
npm registry counts, which include CI installs and mirrors. Weeks with registry gap days are drawn lighter; gaps are excluded, not counted as zero.
Show data table
| Week of | Downloads |
|---|---|
| 2026-10-23 | 159,462,650 |
| 2026-10-16 | 81,116,194 (partial) |
| 2026-10-09 | 76,003,534 (partial) |
| 2026-10-02 | 125,880,646 (partial) |
| 2026-09-25 | 152,047,631 |
| 2026-09-18 | 140,137,109 |
| 2026-09-11 | 109,978,873 (partial) |
| 2026-09-04 | 87,120,818 (partial) |
| 2026-08-28 | 100,719,122 (partial) |
| 2026-08-21 | 122,917,638 |
| 2026-08-14 | 102,153,660 (partial) |
| 2026-08-07 | 120,631,045 |
| 2026-07-31 | 115,505,972 |
| 2026-07-24 | 115,114,279 |
| 2026-07-17 | 113,645,680 |
| 2026-07-10 | 104,150,767 (partial) |
| 2026-07-03 | 107,308,221 |
| 2026-06-26 | 104,042,159 |
| 2026-06-19 | 104,710,701 |
| 2026-06-12 | 105,430,330 |
| 2026-06-05 | 101,645,476 |
| 2026-05-29 | 99,490,135 |
| 2026-05-22 | 96,031,071 |
| 2026-05-15 | 102,116,373 |
| 2026-05-08 | 100,216,392 |
| 2026-05-01 | 92,309,856 |
| 2026-04-24 | 95,506,399 |
| 2026-04-17 | 92,657,691 |
| 2026-04-10 | 85,564,420 |
| 2026-04-03 | 68,191,582 |
| 2026-03-27 | 78,379,553 |
| 2026-03-20 | 67,500,319 |
| 2026-03-13 | 62,337,911 |
| 2026-03-06 | 60,334,098 |
| 2026-02-27 | 55,404,667 |
| 2026-02-20 | 53,856,339 |
| 2026-02-13 | 47,736,280 |
| 2026-02-06 | 49,118,207 |
| 2026-01-30 | 48,787,602 |
| 2026-01-23 | 45,628,477 |
| 2026-01-16 | 43,529,622 |
| 2026-01-09 | 42,091,581 |
| 2026-01-02 | 35,320,755 |
| 2025-12-26 | 21,051,060 |
| 2025-12-19 | 27,509,794 |
| 2025-12-12 | 39,793,444 |
| 2025-12-05 | 42,557,390 |
| 2025-11-28 | 39,124,993 |
| 2025-11-21 | 37,137,157 |
| 2025-11-14 | 38,990,406 |
| 2025-11-07 | 37,543,713 |
| 2025-10-31 | 37,102,764 |
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 | 18,926,030 downloads/day | 15,099,127 downloads/day | Rising (1.25×) | clsx: 18,926,030 downloads/day over the last 90 days vs 15,099,127 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. | 18,926,030 |
No relationships are catalogued. Absence here is not a claim that none exist.
- Is lukeed/clsx still maintained?
- As of 2026-11-01, 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-11-01: 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,851 GitHub stars, which measure attention rather than use. Its npm package clsx averaged 18,926,030 downloads a day over the last 90 days, up 25% on the previous 90 days. Registry download counts include CI installs and mirrors. Checked 2026-11-01.
Evidence
snapshot 2026-11-01Every 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-10-31 | Verified | https://api.github.com/repos/lukeed/clsxMoves on metadata edits; not used as a maintenance signal. |
| Attention | Stars | 9,851 | Verified | https://api.github.com/repos/lukeed/clsx |
| Attention | Forks | 188 | Verified | https://api.github.com/repos/lukeed/clsx |
| Attention | Watchers (subscribers) | 16 | 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-05-05T00%3A00%3A00.000Z&per_page=100Window 2026-05-05 → 2026-11-01Counts 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-05-05T00%3A00%3A00.000Z&per_page=100Window 2026-05-05 → 2026-11-01Counts 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-05-05T00%3A00%3A00.000Z&per_page=100Window 2026-05-05 → 2026-11-01Counts 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 | 18,926,030 | Verified | https://api.npmjs.org/downloads/range/2025-05-02:2026-10-31/clsxWindow 2025-05-02 → 2026-10-29Registry download counts include CI installs, mirrors, and bots. Gap days are excluded, not counted as zero. |
| npm · clsx | Downloads/day, last 30 days | 21,551,503 | Verified | https://api.npmjs.org/downloads/range/2025-05-02:2026-10-31/clsxWindow 2025-05-02 → 2026-10-29Registry download counts include CI installs, mirrors, and bots. Gap days are excluded, not counted as zero. |
Collected 2026-11-01T13:48:43.371Z · repofacts-status-v0 · repofacts-health-v1 · repofacts-momentum-v0 · repofacts-taxonomy-v1 · inputs 60b31b3224f7
Scores are decision support, not a warranty, certification, or security audit. How RepoFacts scores repositories. Spot an error? Send a correction with a source.