公开记录
软件健康报告模式 0.31.0 · 指标 2.10.0 · 2026-08-13 01:00 UTC

Chevrotain / chevrotain

Parser Building Toolkit for JavaScript

TypeScript · JavaScriptApache-2.0★ 2,794 星标⑂ 220 复刻始于 2015年4月在 GitHub 上查看 ↗
类型如何判定

Chevrotain/chevrotain 的健康指数为 100 分中的 78 分,处于「良好」区间。 其得分最高的类别是Community & Adoption(83/100),最低的是Security(54/100)。 最近一次更新在今天。 近期的大部分工作由 1 位贡献者完成。

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)。

所有权

13 关注者2 个公开仓库始于 2015年5月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
npm@chevrotain/gast13.2.025,768,5592111 天前
npm@chevrotain/types13.2.057,260,4092611 天前
npm@chevrotain/utils13.2.026,015,5062511 天前
npmchevrotain13.2.035,970,58217511 天前parsersyntaxlexicalanalysisgrammarlexertokenizergeneratorcompilerfaulttolerant
npm@chevrotain/cst-dts-gen13.2.025,733,8122311 天前
npm@chevrotain/regexp-to-ast13.2.018,428,0601211 天前regexpparserregular-expression

按类别列示的指标

活力

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

66良好 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 0 天前
9.7/36提交节奏52 周中有 14 周有提交
18/18提交量最近一年 99 次提交
10/10OpenSSF Scorecard:Maintained14 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year99
human_commit_share0.76
days_since_last_push0
active_weeks_last_year14

发布纪律

54中等
评分方式
27/27有发布版本已发布 40 个发布版本
0/36发布时效最近一次发布版本于 3,805 天前
27/27发布节奏约每 7.8 天发布一次
0/10OpenSSF Scorecard:Signed-ReleasesProject has not signed or included provenance with any releases.
所用输入
releases_count40
latest_release_tagv0.5.21
releases_from_tags
days_since_latest_release3,805
mean_days_between_releases7.8

社区与采用

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

83优秀 · 占总体的 17%
评分方式
55.9/60星标2,794 个星标
19.5/25复刻220 个复刻
8/15关注者29 位关注者
所用输入
forks220
stars2,794
watchers29
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

70良好
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(Apache-2.0)
18/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges6
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_servicesgithub.com, shields.io
has_pull_request_template
评分方式
80/80月度下载量npm 合计每月 189,176,928 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packages@chevrotain/gast, @chevrotain/types, @chevrotain/utils, chevrotain, @chevrotain/cst-dts-gen, @chevrotain/regexp-to-ast
dependents
ecosystemsnpm
total_downloads
monthly_downloads189,176,928
unverified_packages_excluded
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

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

64中等 · 占总体的 23%
评分方式
9/54巴士系数1 位贡献者贡献了半数提交
1.8/22.5提交分布头号贡献者编写了 92% 的提交
13.5/13.5贡献者广度60 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 19 contributing companies or organizations
所用输入
bus_factor1
contributors_sampled60
top_contributor_share0.921
评分方式
41.2/42议题解决98% 的议题已关闭
18.7/30PR 接受已裁定的 PR 中 747/1,197 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-ReviewFound 0/30 approved changesets -- score normalized to 0
所用输入
merged_prs747
open_issues16
closed_issues817
prs_merged_7d0
prs_decided_7d0
prs_merged_30d4
prs_decided_30d7
issue_closed_ratio0.981
closed_unmerged_prs450
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
30/30所有权背书组织持有
0/20已验证域名未读取该组织的域名验证状态
8.2/25所有者影响力Chevrotain 有 13 位关注者
15.5/25既往记录2 个公开仓库,账户约 11 年
所用输入
followers13
owner_typeOrganization
is_verified
owner_loginChevrotain
public_repos2
account_age_days4,091
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析npm 上有 6 个软件包
35/35发布时效最近一次发布于 11 天前
20/20版本历史175 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packages@chevrotain/gast, @chevrotain/types, @chevrotain/utils, chevrotain, @chevrotain/cst-dts-gen, @chevrotain/regexp-to-ast
ecosystemsnpm
any_deprecated
min_days_since_publish11

工程质量

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

67良好 · 占总体的 19%

工程实践

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

文档

65良好
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点https://chevrotain.io
10/10仓库描述
10/10主题标签8 个主题标签
0/10Wiki
所用输入
topicsjavascript, typescript, parser-library, parsing, grammars, tokenizer, open-source, lexer
has_wiki
homepagehttps://chevrotain.io
docs_sitehttps://chevrotain.io
has_readme
has_docs_dir
has_description

安全

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

54中等 · 占总体的 16%

安全态势

43薄弱
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protection无数据
2.5/2.5CI-Tests8 out of 8 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
0/7.5Code-ReviewFound 0/30 approved changesets -- score normalized to 0
2.5/2.5Contributorsproject has 19 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
7.5/7.5Maintained14 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging无数据
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-ReleasesProject has not signed or included provenance with any releases.
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities111 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate4.3
已排除计分(无数据或不适用):Branch-Protection, Packaging。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
25/25间接依赖不含已知公告没有间接依赖携带已知公告
0/40没有长期未处理的公告没有公告带有发布日期
所用输入
sourceosv
advisories0
affected_packages0
assessed_packages5
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
已排除计分(无数据或不适用):没有长期未处理的公告。 其余权重已重新归一化。 比对的是 npm:chevrotain@13.2.0 的运行时依赖闭包——安装已发布的软件包时真正被拉取进来的内容——共 5 个软件包。 未对可达性进行分析。

AI 就绪度

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

76良好 · 占总体的 4%
评分方式
45/45代理指令agents.md
0/15机器可读文档(llms.txt)
40/40可读的提交历史76 次人类提交中有 76 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
llms_txt_url
legible_history_share1
agent_instruction_filesagents.md
agent_instruction_max_bytes6,672
评分方式
0/18一条命令的引导启动
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查examples/implementation_languages/tsconfig.json, packages/chevrotain/tsconfig.json, packages/cst-dts-gen-test/tsconfig.json, packages/cst-dts-gen/tsconfig.json, packages/gast/tsconfig.json, packages/regexp-to-ast/tsconfig.json, packages/types/tsconfig.json, packages/utils/tsconfig.json, tsconfig.json
10/10可复现环境devcontainer
0/10已体现的代理实践最近 100 次提交中没有代理编写的提交
8/8自动化维护最近 100 次提交中有 24 次为自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfiles
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configsexamples/implementation_languages/tsconfig.json, packages/chevrotain/tsconfig.json, packages/cst-dts-gen-test/tsconfig.json, packages/cst-dts-gen/tsconfig.json, packages/gast/tsconfig.json, packages/regexp-to-ast/tsconfig.json, packages/types/tsconfig.json, packages/utils/tsconfig.json, tsconfig.json
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0.24
评分方式
45/45可类型检查的代码TypeScript(静态类型)
54.4/55可控的文件大小采样的 257 个源文件中有 3 个超过 60KB
所用输入
primary_languageTypeScript
largest_source_bytes85,896
source_files_sampled257
oversized_source_files3
评分方式
0/40API 模式(OpenAPI/GraphQL/proto)不适用于此类软件
0/20MCP 服务器不适用于此类软件
40/40可运行示例examples
所用输入
example_dirsexamples
has_mcp_signal
api_schema_files
interfaces_expected_of
已排除计分(无数据或不适用):API 模式(OpenAPI/GraphQL/proto), MCP 服务器。 其余权重已重新归一化。

关键数据

2,794GitHub 星标
60贡献者
99最近 12 个月提交数
0距最近推送天数
40发布版本数
1巴士系数(bus factor)
16开放议题
npm软件包生态系统数

数据采集警告

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

更多细节

Star 与 Fork 历史 0 ★ / 220 ⇿
0Star
220Fork
14发布

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

0408012016020024021842015-122021-032026-07
主版本 0次版本 0修订 14

每个点涵盖 10 天。

OpenSSF Scorecard 4.3 / 10
4.3综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-08-13 01:00 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-Tests8 out of 8 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
10Contributorsproject has 19 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained14 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities111 existing vulnerabilities detected
直接依赖 12
注册表软件包版本约束清单文件
npm@chevrotain/cst-dts-genworkspace:*packages/chevrotain/package.json
npm@chevrotain/gastworkspace:*packages/chevrotain/package.json
npm@chevrotain/regexp-to-astworkspace:*packages/chevrotain/package.json
npm@chevrotain/typesworkspace:*packages/chevrotain/package.json
npm@chevrotain/utilsworkspace:*packages/chevrotain/package.json
npm@chevrotain/cst-dts-genworkspace:*packages/cst-dts-gen-test/package.json
npm@chevrotain/gastworkspace:*packages/cst-dts-gen-test/package.json
npm@chevrotain/typesworkspace:*packages/cst-dts-gen-test/package.json
npmchevrotainworkspace:*packages/cst-dts-gen-test/package.json
npm@chevrotain/gastworkspace:*packages/cst-dts-gen/package.json
npm@chevrotain/typesworkspace:*packages/cst-dts-gen/package.json
npm@chevrotain/typesworkspace:*packages/gast/package.json
全部依赖 46

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

注册表软件包版本关系
npm@commitlint/cli20.4.3间接
npm@commitlint/config-conventional20.4.3间接
npm@mdit-vue/shared3.0.2间接
npm@types/chai5.2.3间接
npm@types/jsdom28.0.0间接
npm@types/mocha10.0.10间接
npm@types/node22.19.15间接
npm@types/sinon21.0.0间接
npm@types/sinon-chai4.0.0间接
npm@vuepress/bundler-vite2.0.0-rc.26间接
npm@vuepress/client2.0.0-rc.26间接
npm@vuepress/plugin-docsearch2.0.0-rc.123间接
npm@vuepress/theme-default2.0.0-rc.123间接
npmacorn8.8.0间接
npmc812.0.0间接
npmchai6.2.2间接
npmcz-conventional-changelog3.3.0间接
npmerror-stack-parser2.1.4间接
npmesbuild0.18.11间接
npmesbuild0.27.3间接
npmfs-extra11.3.4间接
npmgen-esm-wrapper1.1.3间接
npmgitty3.7.2间接
npmglob13.0.6间接
npmhusky9.1.7间接
npmjsdom28.1.0间接
npmjsonfile6.2.0间接
npmlerna9.0.5间接
npmlint-staged16.3.2间接
npmmocha11.7.5间接
npmnpm-run-all^4.1.5间接
npmnpm-run-all28.0.4间接
npmprettier3.8.1间接
npmrequire-from-string2.0.2间接
npmrimraf6.1.3间接
npmsass-embedded1.97.3间接
npmsinon21.0.2间接
npmsinon-chai4.0.1间接
npmsource-map-support0.5.21间接
npmturbo2.8.16间接
npmtypedoc0.28.17间接
npmtypescript5.6.3间接
npmtypescript5.9.3间接
npmvuepress2.0.0-rc.26间接
npmxregexp5.1.1间接
npmxregexp5.1.2间接
依赖安全公告 0

安装 npm:chevrotain@13.2.0 会引入 5 个包(直接与传递):其中 0 个存在已知公告,0 个为直接依赖。

没有已知公告影响已评估的依赖。

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

原始 JSON 报告 机器可读

反馈

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

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

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

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

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