lukeed/clsx

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

GitHub(opens in a new tab)JavaScriptMIT9,838 stars

Evergreen, approved

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-v1

No overall number is shown: evidence covers 46% of the methodology's weight, below the 50% minimum.

Health dimensions with weight, score, evidence coverage, and the signals behind each score
DimensionWeightScoreCoverageSignals
Maintenance20%Not applicableNot applicable
0 of 3 scored
  • Latest non-bot commitNot scored: approved as evergreen on 2026-09-16, so ongoing activity is not expected. Observed: 2024-04-23, 877 days ago.
  • Weeks with commits (last 13)Not scored: approved as evergreen on 2026-09-16, so ongoing activity is not expected. Observed: 0 of 13 weeks had commits. Includes bot commits.
  • Latest stable releaseNot scored: approved as evergreen on 2026-09-16, so ongoing activity is not expected. Observed: v2.1.1, published 877 days ago.
Security posture20%025%
1 of 4 scored
  • Security policy0No security policy is published.
  • Security advisoriesNot collected in v0. Absence of data is not absence of vulnerabilities.
  • OpenSSF ScorecardNot collected in v0.
  • Release provenanceNot collected in v0.
Documentation12%33100%
3 of 3 scored
  • README100Present.
  • Contributing guide0Missing.
  • Homepage or docs site0None listed on the repository.
Stability12%10067%
2 of 3 scored
  • Prerelease share (last year)No GitHub releases in the last year.
  • Primary package ≥ 1.0100clsx@2.1.1.
  • Primary package not deprecated100clsx is not deprecated.
Community depth12%Not applicableNot applicable
0 of 2 scored
  • Human contributors (90 days)Not scored: approved as evergreen on 2026-09-16, so ongoing activity is not expected. Observed: 0 distinct non-bot authors.
  • Top contributor share (90 days)Not scored: approved as evergreen on 2026-09-16, so ongoing activity is not expected. Observed: Too few human commits in the window to measure concentration.
Dependency exposure10%No evidence0%
0 of 2 scored
  • Dependency countNot collected in v0.
  • Vulnerable dependenciesNot collected in v0.
Operational burden8%No evidence0%
0 of 1 scored
  • Required servicesEditorial assessment, not collected in v0.
Governance6%33100%
3 of 3 scored
  • Machine-detectable license100MIT.
  • Code of conduct0Missing.
  • Issue or PR templates0Missing.

Momentum signals

repofacts-momentum-v0
Momentum by signal family, comparing the current window with the previous window of the same length
SignalWindowCurrentPreviousDirectionBasis
Development91 days0 commits0 commitsNot measured0 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.
Contribution90 days0 contributors0 contributorsNot measured0 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.
Adoption90 days16,517,232 downloads/day12,828,966 downloads/dayRising (1.29×)clsx: 16,517,232 downloads/day over the last 90 days vs 12,828,966 before. Registry counts include CI and mirrors.
AttentionNot measuredStar 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 published from this repository and whether their identity matches it
PackageLatestIdentityDownloads/day (90d)
clsx(opens in a new tab)primary2.1.1MatchedManifest 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-16

Every 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.

Collected evidence with provenance, observation window, source, and caveats
GroupFieldValueProvenanceSource and notes
RepositoryArchivedNoVerifiedhttps://api.github.com/repos/lukeed/clsx
RepositoryDisabledNoVerifiedhttps://api.github.com/repos/lukeed/clsx
RepositoryForkNoVerifiedhttps://api.github.com/repos/lukeed/clsx
RepositoryLicense (SPDX)MITVerifiedhttps://api.github.com/repos/lukeed/clsx
RepositoryDefault branchmasterVerifiedhttps://api.github.com/repos/lukeed/clsx
RepositoryCreated2018-12-24Verifiedhttps://api.github.com/repos/lukeed/clsx
RepositoryLast push (any branch)2024-06-10Verifiedhttps://api.github.com/repos/lukeed/clsxMoves on a push to any branch; not used as a maintenance signal.
RepositoryMetadata updated2026-09-16Verifiedhttps://api.github.com/repos/lukeed/clsxMoves on metadata edits; not used as a maintenance signal.
AttentionStars9,838Verifiedhttps://api.github.com/repos/lukeed/clsx
AttentionForks184Verifiedhttps://api.github.com/repos/lukeed/clsx
AttentionWatchers (subscribers)21Verifiedhttps://api.github.com/repos/lukeed/clsx
RepositoryOpen issues + pull requests16Verifiedhttps://api.github.com/repos/lukeed/clsxGitHub includes open pull requests in this count.
ActivityLatest default-branch commit2024-04-23Verifiedhttps://api.github.com/repos/lukeed/clsx/commits?sha=master&per_page=100
ActivityLatest non-bot commit2024-04-23Verifiedhttps://api.github.com/repos/lukeed/clsx/commits?sha=master&per_page=100
ActivityCommits, last 13 weeks0Verifiedhttps://api.github.com/repos/lukeed/clsx/stats/commit_activityAll commits on the default branch, including bot commits.
ActivityHuman contributors, last 90 days0Verifiedhttps://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.
ActivityHuman commits, last 90 days0Verifiedhttps://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.
ActivityBot commits, last 90 days0Verifiedhttps://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.
ReleasesReleases, last 365 days0Verifiedhttps://api.github.com/repos/lukeed/clsx/releases?per_page=100GitHub releases only. Projects that publish solely to a package registry show none here.
ReleasesLatest stable releasev2.1.1 (2024-04-23)Verifiedhttps://api.github.com/repos/lukeed/clsx/releases?per_page=100GitHub releases only. Projects that publish solely to a package registry show none here.
CommunityGitHub community profile42%Verifiedhttps://api.github.com/repos/lukeed/clsx/community/profileDetects files in the default locations GitHub checks.
SecuritySecurity policyNoVerifiedhttps://api.github.com/graphqlIncludes a policy inherited from the owner's .github repository.
npm · clsxLatest version2.1.1Verifiedhttps://registry.npmjs.org/clsx/latestThe manifest of the version tagged `latest`, which may be a prerelease.
npm · clsxDeprecatedNoVerifiedhttps://registry.npmjs.org/clsx/latestThe manifest of the version tagged `latest`, which may be a prerelease.
npm · clsxManifest repositorygit+https://github.com/lukeed/clsx.gitVerifiedhttps://registry.npmjs.org/clsx/latestThe manifest of the version tagged `latest`, which may be a prerelease.
npm · clsxDownloads/day, last 90 days16,517,232Verifiedhttps://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 · clsxDownloads/day, last 30 days17,327,130Verifiedhttps://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.