公开记录
软件健康报告模式 0.34.0 · 指标 2.10.0 · 2026-09-12 03:34 UTC

sosukesuzuki / prettier

Prettier is an opinionated code formatter.

JavaScriptMIT★ 1 星标⑂ 0 复刻始于 2019年5月复刻在 GitHub 上查看 ↗
类型命令行工具网络服务库网页界面如何判定

sosukesuzuki/prettier 的健康指数为 100 分中的 22 分,处于「存在风险」区间。 其得分最高的类别是Engineering Quality(73/100),最低的是Community & Adoption(12/100)。 最近一次更新在 446 天前。 近期的大部分工作由 4 位贡献者完成。

22
总分 / 100
存在风险

软件健康指数

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

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

评分画像

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

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

所有权

SUZUKI Sosuke个人账户
722 关注者225 个公开仓库始于 2015年9月

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布
npmprettier指向其他仓库——不计分3.9.6492,920,76219552 天前

按类别列示的指标

活力

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

20存在风险 · 占总体的 21%
评分方式
0/36推送新近度 — 最近一次推送于 446 天前
0/36提交节奏 — 52 周中有 0 周有提交
0/18提交量 — 最近一年 0 次提交
0/10OpenSSF Scorecard:Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
所用输入
commits_last_year0
human_commit_share0.57
days_since_last_push446
active_weeks_last_year0

发布纪律

48薄弱
评分方式
16.2/27有发布版本 — 84 个版本标签(无 GitHub 发布版本)
0/36发布时效 — 最近一次发布版本于 2,709 天前
27/27发布节奏 — 约每 17.4 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — 无数据
所用输入
releases_count84
latest_release_tag1.17.0
releases_from_tags是
days_since_latest_release2,709
mean_days_between_releases17.4
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

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

12危急 · 占总体的 17%
评分方式
0/60星标 — 1 个星标
0/25复刻 — 0 个复刻
0/15关注者 — 1 位关注者
所用输入
forks0
stars1
watchers1
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

25存在风险
评分方式
0/22.5README
22.5/22.5许可证 — 可识别的许可证(MIT)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme否
has_license否
readme_badges10
has_contributing否
has_issue_template否
has_code_of_conduct否
readme_badge_servicesshields.io
has_pull_request_template否

可持续性与治理

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

54中等 · 占总体的 23%
评分方式
43.2/54巴士系数 — 4 位贡献者贡献了半数提交
17.8/22.5提交分布 — 头号贡献者编写了 21% 的提交
13.5/13.5贡献者广度 — 97 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 90 contributing companies or organizations
所用输入
bus_factor4
contributors_sampled97
top_contributor_share0.207
评分方式
0/42议题解决 — 没有议题或无数据
0.1/30PR 接受 — 已裁定的 PR 中 3/956 已合并
0/13Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-Review — Found 0/30 approved changesets -- score normalized to 0
所用输入
merged_prs3
open_issues0
closed_issues0
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio—
closed_unmerged_prs953
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):议题解决, Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
20.6/25所有者影响力 — sosukesuzuki 有 722 位关注者
25/25既往记录 — 225 个公开仓库,账户约 10 年
所用输入
followers722
owner_typeUser
is_verified—
owner_loginsosukesuzuki
public_repos225
account_age_days4,004
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。

工程质量

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

73良好 · 占总体的 19%

工程实践

88优秀
评分方式
24/24CI 工作流 — 11 个工作流
24/24存在测试
16/16Linter 配置 — .eslintrc.js
0/9.6Pre-commit 钩子
6.4/6.4.editorconfig
0/20OpenSSF Scorecard:CI-Tests — 无数据
所用输入
has_ci是
has_tests是
has_editorconfig是
has_linter_config是
has_precommit_config否
已排除计分(无数据或不适用):OpenSSF Scorecard:CI-Tests。 其余权重已重新归一化。

文档

50中等
评分方式
0/30README
25/25文档目录
15/15文档 / 主页站点 — https://prettier.io
0/10仓库描述
0/10主题标签
10/10Wiki
所用输入
topics—
has_wiki是
homepagehttps://prettier.io
docs_sitehttps://prettier.io
has_readme否
has_docs_dir是
has_description否

安全

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

39薄弱 · 占总体的 16%

安全态势

39薄弱
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
0/2.5CI-Tests — 无数据
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0/7.5Code-Review — Found 0/30 approved changesets -- score normalized to 0
2.5/2.5Contributors — project has 90 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5许可证 — license file detected
0/7.5Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packaging — 无数据
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — no SAST tool detected
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — 无数据
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities — 154 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate3.9
已排除计分(无数据或不适用):CI-Tests, Packaging, Signed-Releases。 其余权重已重新归一化。

AI 就绪度

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

60中等 · 占总体的 4%
评分方式
0/45代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则
15/15机器可读文档(llms.txt) — 项目网站提供 llms.txt(https://prettier.io/llms.txt)
40/40可读的提交历史 — 57 次人类提交中有 45 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt是
llms_txt_urlhttps://prettier.io/llms.txt
legible_history_share0.789
agent_instruction_files—
agent_instruction_max_bytes—
评分方式
0/18一条命令的引导启动
22/22自动化测试
11/11Lint / 格式化配置 — .eslintrc.js
11/11静态类型检查 — tsconfig.json
10/10可复现环境 — lockfile
0/10已体现的代理实践 — 最近 100 次提交中没有代理编写的提交
8/8自动化维护 — 最近 100 次提交中有 43 次为自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix否
has_tests是
lockfilesyarn.lock
has_dockerfile否
typed_language否
bootstrap_files—
has_devcontainer否
has_linter_config是
typecheck_configstsconfig.json
agent_commit_share0
toolchain_manifests—
dependency_bot_commit_share0.43
评分方式
27/45可类型检查的代码 — JavaScript,已配置类型检查(tsconfig.json)
55/55可控的文件大小 — 采样的 4,218 个源文件中有 2 个超过 60KB
所用输入
primary_languageJavaScript
largest_source_bytes329,583
source_files_sampled4,218
oversized_source_files2
评分方式
40/40API 模式(OpenAPI/GraphQL/proto) — tests/format/graphql/arguments/hello.graphql, tests/format/graphql/bracket-spacing/bracket_spacing.graphql, tests/format/graphql/comments/argument_comment.graphql, tests/format/graphql/comments/fields.graphql, tests/format/graphql/comments/interfaces.graphql, tests/format/graphql/comments/tokens.graphql, tests/format/graphql/definitions/fields.graphql, tests/format/graphql/deprecation/directives.graphql, tests/format/graphql/directive-decl/directive_decl.graphql, tests/format/graphql/directives/directives.graphql, tests/format/graphql/enum/enum.graphql, tests/format/graphql/fields/fields.graphql, tests/format/graphql/fragment-variables/fragment_variables.graphql, tests/format/graphql/fragments/fragments.graphql, tests/format/graphql/hello/hello.graphql, tests/format/graphql/interface/interface.graphql, tests/format/graphql/interface/object_type_def.graphql, tests/format/graphql/interface/object_type_def_mixed_syntax.graphql, tests/format/graphql/interface/object_type_def_old_syntax.graphql, tests/format/graphql/interface/separator-detection.graphql, tests/format/graphql/kitchen-sink/kitchen_sink.graphql, tests/format/graphql/kitchen-sink/schema_kitchen_sink.graphql, tests/format/graphql/lists/lists.graphql, tests/format/graphql/newline/__snapshots__/obj_type_def.graphql, tests/format/graphql/newline/directive_decl.graphql, tests/format/graphql/newline/directives.graphql, tests/format/graphql/newline/enum.graphql, tests/format/graphql/newline/fields.graphql, tests/format/graphql/newline/input.graphql, tests/format/graphql/newline/interface.graphql, tests/format/graphql/newline/object_type_def.graphql, tests/format/graphql/newline/schema.graphql, tests/format/graphql/object-type-def/arguments.graphql, tests/format/graphql/object-type-def/directives.graphql, tests/format/graphql/object-type-def/extend.graphql, tests/format/graphql/object-type-def/implements.graphql, tests/format/graphql/object-type-def/input.graphql, tests/format/graphql/object-type-def/object_type_def.graphql, tests/format/graphql/objects/objects.graphql, tests/format/graphql/prettier-ignore/prettier-ignore-comment.graphql, tests/format/graphql/range/issue2296.graphql, tests/format/graphql/scalar/scalar.graphql, tests/format/graphql/schema/schema.graphql, tests/format/graphql/string/string.graphql, tests/format/graphql/trailing-comma/trailing.graphql, tests/format/graphql/type-extension-definition/type-extendsion-syntax.graphql, tests/format/graphql/union-types/union_types.graphql, tests/format/graphql/variable-definitions/variable_definitions.graphql, tests/format/misc/errors/graphql/type-interfaces.graphql, tests/format/misc/insert-pragma/graphql/with-pragma.graphql, tests/format/misc/insert-pragma/graphql/without-pragma.graphql, tests/format/misc/require-pragma/graphql/with-pragma.graphql, tests/format/misc/require-pragma/graphql/without-pragma.graphql
0/20MCP 服务器
0/40可运行示例
所用输入
example_dirs—
has_mcp_signal否
api_schema_filestests/format/graphql/arguments/hello.graphql, tests/format/graphql/bracket-spacing/bracket_spacing.graphql, tests/format/graphql/comments/argument_comment.graphql, tests/format/graphql/comments/fields.graphql, tests/format/graphql/comments/interfaces.graphql, tests/format/graphql/comments/tokens.graphql, tests/format/graphql/definitions/fields.graphql, tests/format/graphql/deprecation/directives.graphql, tests/format/graphql/directive-decl/directive_decl.graphql, tests/format/graphql/directives/directives.graphql, tests/format/graphql/enum/enum.graphql, tests/format/graphql/fields/fields.graphql, tests/format/graphql/fragment-variables/fragment_variables.graphql, tests/format/graphql/fragments/fragments.graphql, tests/format/graphql/hello/hello.graphql, tests/format/graphql/interface/interface.graphql, tests/format/graphql/interface/object_type_def.graphql, tests/format/graphql/interface/object_type_def_mixed_syntax.graphql, tests/format/graphql/interface/object_type_def_old_syntax.graphql, tests/format/graphql/interface/separator-detection.graphql, tests/format/graphql/kitchen-sink/kitchen_sink.graphql, tests/format/graphql/kitchen-sink/schema_kitchen_sink.graphql, tests/format/graphql/lists/lists.graphql, tests/format/graphql/newline/__snapshots__/obj_type_def.graphql, tests/format/graphql/newline/directive_decl.graphql, tests/format/graphql/newline/directives.graphql, tests/format/graphql/newline/enum.graphql, tests/format/graphql/newline/fields.graphql, tests/format/graphql/newline/input.graphql, tests/format/graphql/newline/interface.graphql, tests/format/graphql/newline/object_type_def.graphql, tests/format/graphql/newline/schema.graphql, tests/format/graphql/object-type-def/arguments.graphql, tests/format/graphql/object-type-def/directives.graphql, tests/format/graphql/object-type-def/extend.graphql, tests/format/graphql/object-type-def/implements.graphql, tests/format/graphql/object-type-def/input.graphql, tests/format/graphql/object-type-def/object_type_def.graphql, tests/format/graphql/objects/objects.graphql, tests/format/graphql/prettier-ignore/prettier-ignore-comment.graphql, tests/format/graphql/range/issue2296.graphql, tests/format/graphql/scalar/scalar.graphql, tests/format/graphql/schema/schema.graphql, tests/format/graphql/string/string.graphql, tests/format/graphql/trailing-comma/trailing.graphql, tests/format/graphql/type-extension-definition/type-extendsion-syntax.graphql, tests/format/graphql/union-types/union_types.graphql, tests/format/graphql/variable-definitions/variable_definitions.graphql, tests/format/misc/errors/graphql/type-interfaces.graphql, tests/format/misc/insert-pragma/graphql/with-pragma.graphql, tests/format/misc/insert-pragma/graphql/without-pragma.graphql, tests/format/misc/require-pragma/graphql/with-pragma.graphql, tests/format/misc/require-pragma/graphql/without-pragma.graphql
interfaces_expected_ofnetwork-service

关键数据

1GitHub 星标
97贡献者
0最近 12 个月提交数
446距最近推送天数
84发布版本数
4巴士系数(bus factor)
0开放议题
npm软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • Community profile unavailable
  • npm package 'prettier' points at a different repository (https://github.com/prettier/prettier); excluded from ecosystem scoring

更多细节

OpenSSF Scorecard 3.9 / 10
3.9综合

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

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
不适用CI-Testsno pull request found
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
10Contributorsproject has 90 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
不适用Packagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTno SAST tool detected
10Security-Policysecurity policy file detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities154 existing vulnerabilities detected
直接依赖 81
注册表软件包版本约束清单文件
npm@angular/compiler12.2.16package.json
npm@babel/code-frame7.16.7package.json
npm@babel/parser7.17.8package.json
npm@glimmer/syntax0.84.1package.json
npm@iarna/toml2.2.5package.json
npm@typescript-eslint/typescript-estree5.16.0package.json
npmacorn8.7.0package.json
npmacorn-jsx5.3.2package.json
npmangular-estree-parser2.5.0package.json
npmangular-html-parser1.8.0package.json
npmcamelcase6.3.0package.json
npmchalk5.0.1package.json
npmci-info3.3.0package.json
npmcjk-regex2.0.1package.json
npmcosmiconfig7.0.1package.json
npmcss-units-list0.0.5package.json
npmdashify2.0.0package.json
npmdiff5.0.0package.json
npmeditorconfig0.15.3package.json
npmeditorconfig-to-prettier0.2.0package.json
npmescape-string-regexp4.0.0package.json
npmespree9.3.1package.json
npmesutils2.0.3package.json
npmfast-glob3.2.11package.json
npmfast-json-stable-stringify2.1.0package.json
npmfind-parent-dir0.3.1package.json
npmflow-parser0.174.1package.json
npmget-stdin8.0.0package.json
npmgraphql15.6.1package.json
npmhtml-element-attributes2.3.0package.json
npmhtml-styles1.0.0package.json
npmhtml-tag-names1.1.5package.json
npmhtml-void-elements1.0.5package.json
npmignore5.2.0package.json
npmjest-docblock27.5.1package.json
npmjson52.2.1package.json
npmleven3.1.0package.json
npmlines-and-columns2.0.3package.json
npmlinguist-languages7.15.0package.json
npmlodash4.17.21package.json
npmmem9.0.2package.json
npmmeriyah4.2.0package.json
npmmicromatch4.0.5package.json
npmminimist1.2.6package.json
npmn-readlines1.0.1package.json
npmoutdent0.8.0package.json
npmparse-srcsetikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0eepackage.json
npmplease-upgrade-node3.2.0package.json
npmpostcss-less3.1.4package.json
npmpostcss-media-query-parser0.2.3package.json
npmpostcss-scss2.1.1package.json
npmpostcss-selector-parser2.2.3package.json
npmpostcss-values-parser2.0.1package.json
npmregexp-util1.2.2package.json
npmremark-footnotes2.0.0package.json
npmremark-math3.0.1package.json
npmremark-parse8.0.3package.json
npmresolve1.22.0package.json
npmsemver7.3.5package.json
npmstring-width5.0.1package.json
npmstrip-ansi6.0.0package.json
npmtypescript4.6.3package.json
npmunicode-regex3.0.0package.json
npmunified9.2.1package.json
npmvnopts1.0.2package.json
npmwcwidth1.0.1package.json
npmyaml-unist-parser1.3.1package.json
npmclipboard2.0.10website/package.json
npmcodemirror-graphql1.2.14website/package.json
npmlz-string1.4.4website/package.json
npmprop-types15.8.1website/package.json
npmreact17.0.2website/package.json
npmreact-dom17.0.2website/package.json
npmchalk4.1.2scripts/release/package.json
npmenquirer2.3.6scripts/release/package.json
npmexeca6.1.0scripts/release/package.json
npmminimist1.2.6scripts/release/package.json
npmnode-fetch3.2.3scripts/release/package.json
npmoutdent0.8.0scripts/release/package.json
npmsemver7.3.5scripts/release/package.json
npmstring-width5.1.2scripts/release/package.json
全部依赖 0

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

注册表软件包版本关系
依赖安全公告 未评估

本报告未能完成公告比对:No resolved dependencies to assess

原始 JSON 报告 机器可读

反馈

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

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

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

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

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