公开记录
软件健康报告模式 0.34.0 · 指标 2.10.0 · 2026-08-27 13:32 UTC

tree-sitter / tree-sitter-javascript

Javascript grammar for tree-sitter

JavaScript · C · Tree-sitter QueryMIT★ 492 星标⑂ 195 复刻始于 2014年7月在 GitHub 上查看 ↗
类型如何判定

tree-sitter/tree-sitter-javascript 的健康指数为 100 分中的 63 分,处于「中等」区间。 其得分最高的类别是Sustainability & Governance(74/100),最低的是Vitality(31/100)。 最近一次更新在 276 天前。 近期的大部分工作由 2 位贡献者完成。

63
总分 / 100
中等

软件健康指数

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

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

评分画像

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

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

所有权

2,654 关注者56 个公开仓库始于 2016年2月

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
Gogithub.com/tree-sitter/tree-sitter-javascriptv0.25.0-61360 天前
crates.iotree-sitter-javascript0.25.01,674,32416360 天前incrementaljavascriptparsingtree-sitterparser-implementationstext-editors
npmtree-sitter-javascript0.25.03,734,32570360 天前incrementalparsingtree-sitterjavascript
PyPItree-sitter-javascript0.25.027,042,3278360 天前incrementalparsingtree-sitterjavascript

按类别列示的指标

活力

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

31存在风险 · 占总体的 21%
评分方式
3.6/36推送新近度最近一次推送于 276 天前
2.1/36提交节奏52 周中有 3 周有提交
9.7/18提交量最近一年 11 次提交
0/10OpenSSF Scorecard:Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
所用输入
commits_last_year11
human_commit_share0.96
days_since_last_push276
active_weeks_last_year3

发布纪律

56中等
评分方式
27/27有发布版本已发布 2 个发布版本
16.2/36发布时效最近一次发布版本于 360 天前
12.6/27发布节奏约每 295.1 天发布一次
0/10OpenSSF Scorecard:Signed-ReleasesProject has not signed or included provenance with any releases.
所用输入
releases_count2
latest_release_tagv0.25.0
releases_from_tags
days_since_latest_release360
mean_days_between_releases295.1

社区与采用

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

70良好 · 占总体的 17%
评分方式
43.7/60星标492 个星标
19.1/25复刻195 个复刻
5.6/15关注者11 位关注者
所用输入
forks195
stars492
watchers11
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(MIT)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges0
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template
评分方式
80/80月度下载量crates, go, npm, pypi 合计每月 32,450,976 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packagesgithub.com/tree-sitter/tree-sitter-javascript, tree-sitter-javascript, tree-sitter-javascript, tree-sitter-javascript
dependents
ecosystemscrates, go, npm, pypi
total_downloads11,910,823
monthly_downloads32,450,976
unverified_packages_excluded
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

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

74良好 · 占总体的 23%
评分方式
25.2/54巴士系数2 位贡献者贡献了半数提交
11.8/22.5提交分布头号贡献者编写了 48% 的提交
13.5/13.5贡献者广度44 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 22 contributing companies or organizations
所用输入
bus_factor2
contributors_sampled44
top_contributor_share0.476
评分方式
37.3/42议题解决89% 的议题已关闭
24.9/30PR 接受已裁定的 PR 中 179/216 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
1.5/15OpenSSF Scorecard:Code-ReviewFound 2/18 approved changesets -- score normalized to 1
所用输入
merged_prs179
open_issues16
closed_issues125
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.887
closed_unmerged_prs37
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
30/30所有权背书组织持有
0/20已验证域名
24.6/25所有者影响力tree-sitter 有 2,654 位关注者
24.8/25既往记录56 个公开仓库,账户约 10 年
所用输入
followers2,654
owner_typeOrganization
is_verified
owner_logintree-sitter
public_repos56
account_age_days3,848
评分方式
25/25已发布且可解析crates, go, npm, pypi 上有 4 个软件包
26/35发布时效最近一次发布于 360 天前
20/20版本历史70 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packagesgithub.com/tree-sitter/tree-sitter-javascript, tree-sitter-javascript, tree-sitter-javascript, tree-sitter-javascript
ecosystemscrates, go, npm, pypi
any_deprecated
min_days_since_publish360

工程质量

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

69良好 · 占总体的 19%

工程实践

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

文档

65良好
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点https://docs.rs/tree-sitter-javascript
10/10仓库描述
10/10主题标签3 个主题标签
0/10Wiki
所用输入
topicstree-sitter, javascript, parser
has_wiki
homepage
docs_sitehttps://docs.rs/tree-sitter-javascript
has_readme
has_docs_dir
has_description

安全

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

48薄弱 · 占总体的 16%

安全态势

35薄弱
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
3.8/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
0.2/2.5CI-Tests1 out of 10 merged PRs checked by a CI test -- score normalized to 1
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0.8/7.5Code-ReviewFound 2/18 approved changesets -- score normalized to 1
2.5/2.5Contributorsproject has 22 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
0/7.5Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packaging无数据
0.5/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 1
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.5Vulnerabilities17 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate3.5
已排除计分(无数据或不适用):Packaging。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
0/25间接依赖不含已知公告在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告没有公告带有发布日期
所用输入
sourceosv
advisories17
affected_packages6
assessed_packages149
unassessed_packages0
affected_by_severitycritical 1, high 4, moderate 1
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 149 个已解析依赖与 OSV 比对。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

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

71良好 · 占总体的 4%
评分方式
0/45代理指令没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
40/40可读的提交历史96 次人类提交中有 85 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
llms_txt_url
legible_history_share0.885
agent_instruction_files
agent_instruction_max_bytes
评分方式
18/18一条命令的引导启动Makefile
22/22自动化测试
11/11Lint / 格式化配置eslint.config.mjs
11/11静态类型检查bindings/python/tree_sitter_javascript/py.typed
10/10可复现环境lockfile
0/10已体现的代理实践最近 100 次提交中没有代理编写的提交
8/8自动化维护最近 100 次提交中有 4 次为自动依赖更新
1/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 1
所用输入
has_nix
has_tests
lockfilesCargo.lock, go.sum, package-lock.json
has_dockerfile
typed_language
bootstrap_filesMakefile
has_devcontainer
has_linter_config
typecheck_configsbindings/python/tree_sitter_javascript/py.typed
agent_commit_share0
toolchain_manifestsCargo.toml, go.mod
dependency_bot_commit_share0.04
评分方式
27/45可类型检查的代码JavaScript,已配置类型检查(bindings/python/tree_sitter_javascript/py.typed)
49.8/55可控的文件大小采样的 32 个源文件中有 3 个超过 60KB
所用输入
primary_languageJavaScript
largest_source_bytes2,855,934
source_files_sampled32
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 服务器。 其余权重已重新归一化。

关键数据

492GitHub 星标
44贡献者
11最近 12 个月提交数
276距最近推送天数
2发布版本数
2巴士系数(bus factor)
16开放议题
crates.io, Go, npm, PyPI软件包生态系统数

数据采集警告

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

更多细节

Star 与 Fork 历史 0 ★ / 195 ⇿
0Star
195Fork
2发布

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

0408012016020019142015-122021-032026-07
主版本 0次版本 1修订 1

每个点涵盖 10 天。

OpenSSF Scorecard 3.5 / 10
3.5综合

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

10Binary-Artifactsno binaries found in the repo
5Branch-Protectionbranch protection is not maximal on development and all release branches
1CI-Tests1 out of 10 merged PRs checked by a CI test -- score normalized to 1
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 2/18 approved changesets -- score normalized to 1
10Contributorsproject has 22 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
1Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 1
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
0Vulnerabilities17 existing vulnerabilities detected
直接依赖 4
注册表软件包版本约束清单文件
crates.iotree-sitter-language0.1Cargo.toml
Gogithub.com/tree-sitter/go-tree-sitterv0.24.0go.mod
npmnode-addon-api^8.3.1package.json
npmnode-gyp-build^4.8.4package.json
全部依赖 149

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

注册表软件包版本关系
crates.iotree-sitter-language0.1.5直接
Gogithub.com/tree-sitter/go-tree-sitter0.24.0直接
npmnode-addon-api8.5.0直接
npmnode-gyp-build4.8.4直接
crates.ioaho-corasick1.1.3间接
crates.iocc1.2.34间接
crates.ioequivalent1.0.2间接
crates.iohashbrown0.15.5间接
crates.ioindexmap2.11.0间接
crates.ioitoa1.0.15间接
crates.iomemchr2.7.5间接
crates.ioproc-macro21.0.101间接
crates.ioquote1.0.40间接
crates.ioregex1.11.2间接
crates.ioregex-automata0.4.10间接
crates.ioregex-syntax0.8.6间接
crates.ioryu1.0.20间接
crates.ioserde1.0.219间接
crates.ioserde_derive1.0.219间接
crates.ioserde_json1.0.143间接
crates.ioshlex1.3.0间接
crates.iostreaming-iterator0.1.9间接
crates.iosyn2.0.106间接
crates.iotree-sitter0.25.8间接
crates.iounicode-ident1.0.18间接
Gogithub.com/mattn/go-pointer0.0.1间接
npm@es-joy/jsdoccomment0.50.2间接
npm@eslint-community/eslint-utils4.7.0间接
npm@eslint-community/regexpp4.12.1间接
npm@eslint/config-array0.21.0间接
npm@eslint/config-helpers0.3.1间接
npm@eslint/core0.15.2间接
npm@eslint/eslintrc3.3.1间接
npm@eslint/js9.34.0间接
npm@eslint/object-schema2.1.6间接
npm@eslint/plugin-kit0.3.5间接
npm@humanfs/core0.19.1间接
npm@humanfs/node0.16.6间接
npm@humanwhocodes/module-importer1.0.1间接
npm@humanwhocodes/retry0.3.1间接
npm@humanwhocodes/retry0.4.3间接
npm@types/estree1.0.8间接
npm@types/json-schema7.0.15间接
npm@typescript-eslint/types8.41.0间接
npmacorn8.15.0间接
npmacorn-jsx5.3.2间接
npmajv6.12.6间接
npmansi-styles4.3.0间接
npmare-docs-informative0.0.2间接
npmargparse2.0.1间接
npmbalanced-match1.0.2间接
npmbase64-js1.5.1间接
npmbl4.1.0间接
npmbrace-expansion1.1.12间接
npmbuffer5.7.1间接
npmcallsites3.1.0间接
npmchalk4.1.2间接
npmchownr1.1.4间接
npmcolor-convert2.0.1间接
npmcolor-name1.1.4间接
npmcomment-parser1.4.1间接
npmconcat-map0.0.1间接
npmcross-spawn7.0.6间接
npmdebug4.4.1间接
npmdeep-is0.1.4间接
npmend-of-stream1.4.4间接
npmescape-string-regexp4.0.0间接
npmeslint9.34.0间接
npmeslint-config-treesitter1.0.2间接
npmeslint-plugin-jsdoc50.8.0间接
npmeslint-scope8.4.0间接
npmeslint-visitor-keys3.4.3间接
npmeslint-visitor-keys4.2.1间接
npmespree10.4.0间接
npmesquery1.6.0间接
npmesrecurse4.3.0间接
npmestraverse5.3.0间接
npmesutils2.0.3间接
npmfast-deep-equal3.1.3间接
npmfast-json-stable-stringify2.1.0间接
npmfast-levenshtein2.0.6间接
npmfile-entry-cache8.0.0间接
npmfind-up5.0.0间接
npmflat-cache4.0.1间接
npmflatted3.3.3间接
npmfs-constants1.0.0间接
npmglob-parent6.0.2间接
npmglobals14.0.0间接
npmhas-flag4.0.0间接
npmieee7541.2.1间接
npmignore5.3.2间接
npmimport-fresh3.3.1间接
npmimurmurhash0.1.4间接
npminherits2.0.4间接
npmis-extglob2.1.1间接
npmis-glob4.0.3间接
npmisexe2.0.0间接
npmjs-yaml4.1.0间接
npmjsdoc-type-pratt-parser4.1.0间接
npmjson-buffer3.0.1间接
npmjson-schema-traverse0.4.1间接
npmjson-stable-stringify-without-jsonify1.0.1间接
npmkeyv4.5.4间接
npmlevn0.4.1间接
npmlocate-path6.0.0间接
npmlodash.merge4.6.2间接
npmminimatch3.1.2间接
npmminimist1.2.8间接
npmmkdirp-classic0.5.3间接
npmms2.1.3间接
npmnatural-compare1.4.0间接
npmnode-abi3.62.0间接
npmnpm-run-path3.1.0间接
npmonce1.4.0间接
npmoptionator0.9.4间接
npmp-limit3.1.0间接
npmp-locate5.0.0间接
npmparent-module1.0.1间接
npmparse-imports-exports0.2.4间接
npmparse-statements1.0.11间接
npmpath-exists4.0.0间接
npmpath-key3.1.1间接
npmprebuildify6.0.1间接
npmprelude-ls1.2.1间接
npmpump3.0.0间接
npmpunycode2.3.1间接
npmreadable-stream3.6.2间接
npmresolve-from4.0.0间接
npmsafe-buffer5.2.1间接
npmsemver7.7.2间接
npmshebang-command2.0.0间接
npmshebang-regex3.0.0间接
npmspdx-exceptions2.5.0间接
npmspdx-expression-parse4.0.0间接
npmspdx-license-ids3.0.22间接
npmstring_decoder1.3.0间接
npmstrip-json-comments3.1.1间接
npmsupports-color7.2.0间接
npmtar-fs2.1.1间接
npmtar-stream2.2.0间接
npmtree-sitter0.25.0间接
npmtree-sitter-cli0.25.8间接
npmtype-check0.4.0间接
npmuri-js4.4.1间接
npmutil-deprecate1.0.2间接
npmwhich2.0.2间接
npmword-wrap1.2.5间接
npmwrappy1.0.2间接
npmyocto-queue0.1.0间接
依赖安全公告 6

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

软件包版本关系严重程度公告数修复版本
flatted3.3.3间接严重23.4.2
brace-expansion1.1.12间接45.0.9
js-yaml4.1.0间接44.3.1
minimatch3.1.2间接310.2.3
tar-fs2.1.1间接33.1.1
ajv6.12.6间接18.18.0

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

原始 JSON 报告 机器可读

反馈

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

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

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

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

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