公开记录
软件健康报告模式 0.31.0 · 指标 2.10.0 · 2026-08-12 20:28 UTC

JedWatson / classnames

A simple javascript utility for conditionally joining classNames together

JavaScript · TypeScriptMIT★ 17,789 星标⑂ 558 复刻始于 2014年11月在 GitHub 上查看 ↗
类型如何判定

JedWatson/classnames 的健康指数为 100 分中的 78 分,处于「良好」区间。 其得分最高的类别是Community & Adoption(87/100),最低的是AI Readiness(30/100)。 最近一次更新在 5 天前。 近期的大部分工作由 2 位贡献者完成。

78
总分 / 100
良好

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

78
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 67 经校准后在公布的指数量表上为 78(记录校准 2026-08-02)。

所有权

Jed Watson个人账户
4,673 关注者100 个公开仓库始于 2011年6月Thinkmill

该仓库由个人账户拥有。相较于组织支持的项目,单一所有者项目的延续性风险更高。

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
npmclassnames2.5.1124,098,34730957 天前reactcssclassesclassnameclassnamesutilutility

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

56中等 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 5 天前
18/36提交节奏52 周中有 26 周有提交
14.2/18提交量最近一年 37 次提交
4/10OpenSSF Scorecard:Maintained5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
所用输入
commits_last_year37
human_commit_share0.03
days_since_last_push5
active_weeks_last_year26

发布纪律

32存在风险
评分方式
16.2/27有发布版本26 个版本标签(无 GitHub 发布版本)
0/36发布时效最近一次发布版本于 946 天前
12.6/27发布节奏约每 311.9 天发布一次
0/10OpenSSF Scorecard:Signed-Releases无数据
所用输入
releases_count26
latest_release_tagv2.5.2
releases_from_tags
days_since_latest_release946
mean_days_between_releases311.9
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

87优秀 · 占总体的 17%
评分方式
60/60星标17,789 个星标
22.9/25复刻558 个复刻
11.4/15关注者115 位关注者
所用输入
forks558
stars17,789
watchers115
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

70良好
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(MIT)
18/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges3
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_servicesshields.io
has_pull_request_template
评分方式
80/80月度下载量npm 合计每月 124,098,347 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packagesclassnames
dependents
ecosystemsnpm
total_downloads
monthly_downloads124,098,347
unverified_packages_excluded
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

74良好 · 占总体的 23%
评分方式
25.2/54巴士系数2 位贡献者贡献了半数提交
13.3/22.5提交分布头号贡献者编写了 41% 的提交
13.5/13.5贡献者广度43 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 27 contributing companies or organizations
所用输入
bus_factor2
contributors_sampled43
top_contributor_share0.408
评分方式
41/42议题解决98% 的议题已关闭
20.8/30PR 接受已裁定的 PR 中 268/387 已合并
13/13Newcomer PR acceptance30 天内首次贡献者的 PR 已合并 1/1
15/15OpenSSF Scorecard:Code-Reviewall changesets reviewed
所用输入
merged_prs268
open_issues4
closed_issues172
prs_merged_7d0
prs_decided_7d0
prs_merged_30d1
prs_decided_30d1
issue_closed_ratio0.977
closed_unmerged_prs119
first_time_authors_30d1
first_time_prs_merged_30d1
first_time_prs_decided_30d1
评分方式
10/30所有权背书个人(用户)账户
0/20已验证域名不适用于个人账户
25/25所有者影响力JedWatson 有 4,673 位关注者
25/25既往记录100 个公开仓库,账户约 15 年
所用输入
followers4,673
owner_typeUser
is_verified
owner_loginJedWatson
public_repos100
account_age_days5,528
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析npm 上有 1 个软件包
4/35发布时效最近一次发布于 957 天前
20/20版本历史30 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packagesclassnames
ecosystemsnpm
any_deprecated
min_days_since_publish957

工程质量

基础的工程与文档实践是否到位?

64中等 · 占总体的 19%

工程实践

74良好
评分方式
24/24CI 工作流2 个工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
6.4/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

50中等
评分方式
30/30README
0/25文档目录
0/15文档 / 主页站点
10/10仓库描述
0/10主题标签
10/10Wiki
所用输入
topics
has_wiki
homepage
docs_site
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

66良好 · 占总体的 16%

安全态势

58中等
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protection无数据
2.5/2.5CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
7.5/7.5Code-Reviewall changesets reviewed
2.5/2.5Contributorsproject has 27 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
3/7.5Maintained5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
0/5Packaging无数据
1/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releases无数据
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
5.2/7.5Vulnerabilities3 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate5.8
已排除计分(无数据或不适用):Branch-Protection, Packaging, Signed-Releases。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
0/25间接依赖不含已知公告在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告没有公告带有发布日期
所用输入
sourceosv
advisories5
affected_packages3
assessed_packages211
unassessed_packages0
affected_by_severityhigh 2, moderate 1
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 211 个已解析依赖与 OSV 比对。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

30存在风险 · 占总体的 4%
评分方式
0/45代理指令没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
0/40可读的提交历史无数据
所用输入
has_llms_txt
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
已排除计分(无数据或不适用):可读的提交历史。 其余权重已重新归一化。
评分方式
0/18一条命令的引导启动
22/22自动化测试
0/11Lint / 格式化配置
0/11静态类型检查
10/10可复现环境lockfile
0/10已体现的代理实践最近 100 次提交中没有代理编写的提交
8/8自动化维护最近 100 次提交中有 97 次为自动依赖更新
2/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
所用输入
has_nix
has_tests
lockfilespackage-lock.json
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0.97
评分方式
0/45可类型检查的代码JavaScript,未配置类型检查
55/55可控的文件大小采样的 15 个源文件中有 0 个超过 60KB
所用输入
primary_languageJavaScript
largest_source_bytes4,421
source_files_sampled15
oversized_source_files0

关键数据

17,789GitHub 星标
43贡献者
37最近 12 个月提交数
5距最近推送天数
26发布版本数
2巴士系数(bus factor)
4开放议题
npm软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

更多细节

Star 与 Fork 历史 0 ★ / 558 ⇿
0Star
558Fork
26发布

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

010020030040050060054682015-012020-102026-08
主版本 1次版本 5修订 20

每个点涵盖 11 天。

OpenSSF Scorecard 5.8 / 10
5.8综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-08-12 20:28 UTC

10Binary-Artifactsno binaries found in the repo
不适用Branch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
10Contributorsproject has 27 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
4Maintained5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
不适用Packagingpackaging workflow not detected
2Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7Vulnerabilities3 existing vulnerabilities detected
全部依赖 211

来自 GitHub 依赖图的完整解析依赖集合:0 个直接依赖与 211 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
npm@babel/code-frame7.23.5间接
npm@babel/helper-validator-identifier7.22.20间接
npm@babel/highlight7.23.4间接
npm@jest/schemas29.6.3间接
npm@jridgewell/sourcemap-codec1.4.15间接
npm@napi-rs/lzma-linux-x64-gnu1.5.1间接
npm@nodelib/fs.scandir2.1.5间接
npm@nodelib/fs.stat2.0.5间接
npm@nodelib/fs.walk1.2.8间接
npm@rollup/plugin-commonjs29.0.3间接
npm@rollup/plugin-json6.1.0间接
npm@rollup/plugin-node-resolve16.0.3间接
npm@rollup/pluginutils5.1.0间接
npm@rollup/rollup-android-arm-eabi4.62.4间接
npm@rollup/rollup-android-arm644.62.4间接
npm@rollup/rollup-darwin-arm644.62.4间接
npm@rollup/rollup-darwin-x644.62.4间接
npm@rollup/rollup-freebsd-arm644.62.4间接
npm@rollup/rollup-freebsd-x644.62.4间接
npm@rollup/rollup-linux-arm-gnueabihf4.62.4间接
npm@rollup/rollup-linux-arm-musleabihf4.62.4间接
npm@rollup/rollup-linux-arm64-gnu4.62.4间接
npm@rollup/rollup-linux-arm64-musl4.62.4间接
npm@rollup/rollup-linux-loong64-gnu4.62.4间接
npm@rollup/rollup-linux-loong64-musl4.62.4间接
npm@rollup/rollup-linux-ppc64-gnu4.62.4间接
npm@rollup/rollup-linux-ppc64-musl4.62.4间接
npm@rollup/rollup-linux-riscv64-gnu4.62.4间接
npm@rollup/rollup-linux-riscv64-musl4.62.4间接
npm@rollup/rollup-linux-s390x-gnu4.62.4间接
npm@rollup/rollup-linux-x64-gnu4.62.4间接
npm@rollup/rollup-linux-x64-musl4.62.4间接
npm@rollup/rollup-openbsd-x644.62.4间接
npm@rollup/rollup-openharmony-arm644.62.4间接
npm@rollup/rollup-win32-arm64-msvc4.62.4间接
npm@rollup/rollup-win32-ia32-msvc4.62.4间接
npm@rollup/rollup-win32-x64-gnu4.62.4间接
npm@rollup/rollup-win32-x64-msvc4.62.4间接
npm@sinclair/typebox0.27.8间接
npm@tsd/typescript5.4.3间接
npm@types/eslint7.29.0间接
npm@types/estree1.0.9间接
npm@types/json-schema7.0.15间接
npm@types/minimist1.2.5间接
npm@types/normalize-package-data2.4.4间接
npm@types/resolve1.20.2间接
npmansi-escapes4.3.2间接
npmansi-regex5.0.1间接
npmansi-styles3.2.1间接
npmansi-styles4.3.0间接
npmansi-styles5.2.0间接
npmarray-union2.1.0间接
npmarrify1.0.1间接
npmasync2.6.4间接
npmbasic-auth2.0.1间接
npmbraces3.0.3间接
npmcall-bind-apply-helpers1.0.2间接
npmcall-bound1.0.4间接
npmcamelcase5.3.1间接
npmcamelcase-keys6.2.2间接
npmchalk2.4.2间接
npmchalk4.1.2间接
npmclassnames2.5.1间接
npmcolor-convert1.9.3间接
npmcolor-convert2.0.1间接
npmcolor-name1.1.3间接
npmcolor-name1.1.4间接
npmcommondir1.0.1间接
npmcorser2.0.1间接
npmdebug3.2.7间接
npmdecamelize1.2.0间接
npmdecamelize-keys1.1.1间接
npmdeepmerge4.3.1间接
npmdiff-sequences29.6.3间接
npmdir-glob3.0.1间接
npmdunder-proto1.0.1间接
npmemoji-regex8.0.0间接
npmerror-ex1.3.2间接
npmes-define-property1.0.1间接
npmes-errors1.3.0间接
npmes-object-atoms1.1.1间接
npmescape-string-regexp1.0.5间接
npmeslint-formatter-pretty4.1.0间接
npmeslint-rule-docs1.1.235间接
npmestree-walker2.0.2间接
npmeventemitter34.0.7间接
npmfast-glob3.3.2间接
npmfastq1.16.0间接
npmfdir6.3.0间接
npmfill-range7.1.1间接
npmfind-up4.1.0间接
npmfollow-redirects1.16.0间接
npmfsevents2.3.3间接
npmfunction-bind1.1.2间接
npmget-intrinsic1.3.0间接
npmget-proto1.0.1间接
npmglob-parent5.1.2间接
npmglobby11.1.0间接
npmgopd1.2.0间接
npmhard-rejection2.1.0间接
npmhas-flag3.0.0间接
npmhas-flag4.0.0间接
npmhas-symbols1.1.0间接
npmhasown2.0.2间接
npmhe1.2.0间接
npmhosted-git-info2.8.9间接
npmhosted-git-info4.1.0间接
npmhtml-encoding-sniffer3.0.0间接
npmhttp-proxy1.18.1间接
npmhttp-server14.1.1间接
npmiconv-lite0.6.3间接
npmignore5.3.0间接
npmindent-string4.0.0间接
npmirregular-plurals3.5.0间接
npmis-arrayish0.2.1间接
npmis-core-module2.13.1间接
npmis-extglob2.1.1间接
npmis-fullwidth-code-point3.0.0间接
npmis-glob4.0.3间接
npmis-module1.0.0间接
npmis-number7.0.0间接
npmis-plain-obj1.1.0间接
npmis-reference1.2.1间接
npmis-unicode-supported0.1.0间接
npmjest-diff29.7.0间接
npmjest-get-type29.6.3间接
npmjs-tokens4.0.0间接
npmjson-parse-even-better-errors2.3.1间接
npmkind-of6.0.3间接
npmlines-and-columns1.2.4间接
npmlocate-path5.0.0间接
npmlodash4.18.1间接
npmlog-symbols4.1.0间接
npmlru-cache6.0.0间接
npmmagic-string0.30.5间接
npmmap-obj1.0.1间接
npmmap-obj4.3.0间接
npmmarkdown-table3.0.4间接
npmmath-intrinsics1.1.0间接
npmmeow9.0.0间接
npmmerge21.4.1间接
npmmicromatch4.0.5间接
npmmime1.6.0间接
npmmin-indent1.0.1间接
npmminimist1.2.8间接
npmminimist-options4.1.0间接
npmmkdirp0.5.6间接
npmms2.1.3间接
npmnormalize-package-data2.5.0间接
npmnormalize-package-data3.0.3间接
npmobject-inspect1.13.4间接
npmopener1.5.2间接
npmp-limit2.3.0间接
npmp-locate4.1.0间接
npmp-try2.2.0间接
npmparse-json5.2.0间接
npmpath-exists4.0.0间接
npmpath-parse1.0.7间接
npmpath-type4.0.0间接
npmpicomatch2.3.1间接
npmpicomatch4.0.2间接
npmplur4.0.0间接
npmportfinder1.0.32间接
npmpretty-format29.7.0间接
npmqs6.15.2间接
npmqueue-microtask1.2.3间接
npmquick-lru4.0.1间接
npmreact-is18.2.0间接
npmread-pkg5.2.0间接
npmread-pkg-up7.0.1间接
npmredent3.0.0间接
npmrequires-port1.0.0间接
npmresolve1.22.8间接
npmreusify1.0.4间接
npmrollup4.62.4间接
npmrun-parallel1.2.0间接
npmsafe-buffer5.1.2间接
npmsafer-buffer2.1.2间接
npmsecure-compare3.0.1间接
npmsemver5.7.2间接
npmsemver7.5.4间接
npmside-channel1.1.0间接
npmside-channel-list1.0.0间接
npmside-channel-map1.0.1间接
npmside-channel-weakmap1.0.2间接
npmslash3.0.0间接
npmspdx-correct3.2.0间接
npmspdx-exceptions2.3.0间接
npmspdx-expression-parse3.0.1间接
npmspdx-license-ids3.0.16间接
npmstring-width4.2.3间接
npmstrip-ansi6.0.1间接
npmstrip-indent3.0.0间接
npmsupports-color5.5.0间接
npmsupports-color7.2.0间接
npmsupports-hyperlinks2.3.0间接
npmsupports-preserve-symlinks-flag1.0.0间接
npmtinybench6.0.1间接
npmto-regex-range5.0.1间接
npmtrim-newlines3.0.1间接
npmtsd0.31.2间接
npmtype-fest0.18.1间接
npmtype-fest0.21.3间接
npmtype-fest0.6.0间接
npmtype-fest0.8.1间接
npmunion0.5.0间接
npmurl-join4.0.1间接
npmvalidate-npm-package-license3.0.4间接
npmwhatwg-encoding2.0.0间接
npmyallist4.0.0间接
npmyargs-parser20.2.9间接
依赖安全公告 3

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 211 个包,其中也包含从不交付的开发与测试版本固定:3 个存在已知公告,0 个为直接依赖。

软件包版本关系严重程度公告数修复版本
picomatch2.3.1间接24.0.4
picomatch4.0.2间接24.0.4
micromatch4.0.5间接14.0.8

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.31.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计npm.