公开记录
软件健康报告模式 0.11.0 · 指标 2.10.0 · 2026-07-16 07:11 UTC

ericcornelissen / strip-comments-js

Strip comments from JavaScript and TypeScript code.

JavaScriptApache-2.0★ 0 星标⑂ 0 复刻始于 2026年7月在 GitHub 上查看 ↗
类型如何判定

ericcornelissen/strip-comments-js 的健康指数为 100 分中的 59 分,处于「中等」区间。 其得分最高的类别是Vitality(70/100),最低的是Community & Adoption(32/100)。 最近一次更新在今天。 近期的大部分工作由 1 位贡献者完成。

59
总分 / 100
中等

软件健康指数

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

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

评分画像

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

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

所有权

Eric Cornelissen个人账户
69 关注者56 个公开仓库始于 2013年3月

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
npmstrip-comments-js1.2.02,871161 天前stripcommentcommentsbuildtranspilecleanminify

按类别列示的指标

活力

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

70良好 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 0 天前
6.9/36提交节奏52 周中有 10 周有提交
18/18提交量最近一年 154 次提交
0/10OpenSSF Scorecard:Maintainedproject was created within the last 90 days. Please review its contents carefully
所用输入
commits_last_year154
human_commit_share
days_since_last_push0
active_weeks_last_year10

发布纪律

84优秀
评分方式
27/27有发布版本已发布 1 个发布版本
36/36发布时效最近一次发布版本于 1 天前
12.6/27发布节奏节奏未知(仅一次发布)
0/10OpenSSF Scorecard:Signed-Releases无数据
所用输入
releases_count1
latest_release_tagv1.2.0
releases_from_tags
days_since_latest_release1
mean_days_between_releases
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

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

32存在风险 · 占总体的 17%
评分方式
0/60星标0 个星标
0/25复刻0 个复刻
0/15关注者1 位关注者
所用输入
forks0
stars0
watchers1
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(Apache-2.0)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template
评分方式
46.1/80月度下载量npm 合计每月 2,871 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packagesstrip-comments-js
dependents
ecosystemsnpm
total_downloads
monthly_downloads2,871
unverified_packages_excluded
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

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

48薄弱 · 占总体的 23%
评分方式
9/54巴士系数1 位贡献者贡献了半数提交
0.3/22.5提交分布头号贡献者编写了 99% 的提交
2.7/13.5贡献者广度2 位贡献者
0/10OpenSSF Scorecard:Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
所用输入
bus_factor1
contributors_sampled2
top_contributor_share0.987
评分方式
4.2/42议题解决10% 的议题已关闭
26.7/30PR 接受已裁定的 PR 中 8/9 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-ReviewFound 0/19 approved changesets -- score normalized to 0
所用输入
merged_prs8
open_issues9
closed_issues1
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.1
closed_unmerged_prs1
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
10/30所有权背书个人(用户)账户
0/20已验证域名不适用于个人账户
13.3/25所有者影响力ericcornelissen 有 69 位关注者
24.8/25既往记录56 个公开仓库,账户约 13 年
所用输入
followers69
owner_typeUser
is_verified
owner_loginericcornelissen
public_repos56
account_age_days4,884
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析npm 上有 1 个软件包
35/35发布时效最近一次发布于 1 天前
20/20版本历史16 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packagesstrip-comments-js
ecosystemsnpm
any_deprecated
min_days_since_publish1

工程质量

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

70良好 · 占总体的 19%

工程实践

74良好
评分方式
24/24CI 工作流2 个工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
6.4/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://www.npmjs.com/package/strip-comments-js
10/10仓库描述
10/10主题标签10 个主题标签
0/10Wiki
所用输入
topicsbuild, clean, comment, comments, javascript, minify, package, strip, transpile, typescript
has_wiki
homepagehttps://www.npmjs.com/package/strip-comments-js
docs_sitehttps://www.npmjs.com/package/strip-comments-js
has_readme
has_docs_dir
has_description

安全

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

65良好 · 占总体的 16%

安全态势

65良好
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
2.2/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
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/19 approved changesets -- score normalized to 0
0/2.5Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
5/5Fuzzingproject is fuzzed
2.5/2.5许可证license file detected
0/7.5Maintainedproject was created within the last 90 days. Please review its contents carefully
5/5Packagingpackaging workflow detected
5/5Pinned-Dependenciesall dependencies are pinned
0/5SASTSAST tool is not run on all commits -- score normalized to 0
2/5Security-Policysecurity policy file detected
0/7.5Signed-Releases无数据
7.5/7.5Token-PermissionsGitHub workflow tokens follow principle of least privilege
6.8/7.5Vulnerabilities1 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate6.5
已排除计分(无数据或不适用):Signed-Releases。 其余权重已重新归一化。

AI 就绪度

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

35薄弱 · 占总体的 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已体现的代理实践无数据
5/8自动化维护已配置依赖自动化,但在抽样提交中未观察到
10/10OpenSSF Scorecard:Pinned-Dependenciesall dependencies are pinned
所用输入
has_nix
has_tests
lockfilespackage-lock.json
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share
toolchain_manifests
dependency_bot_commit_share0
已排除计分(无数据或不适用):已体现的代理实践。 其余权重已重新归一化。
评分方式
0/45可类型检查的代码JavaScript,未配置类型检查
55/55可控的文件大小采样的 26 个源文件中有 0 个超过 60KB
所用输入
primary_languageJavaScript
largest_source_bytes28,757
source_files_sampled26
oversized_source_files0

关键数据

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

更多细节

OpenSSF Scorecard 6.5 / 10
6.5综合

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

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
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/19 approved changesets -- score normalized to 0
0Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
10Fuzzingproject is fuzzed
10Licenselicense file detected
0Maintainedproject was created within the last 90 days. Please review its contents carefully
10Packagingpackaging workflow detected
10Pinned-Dependenciesall dependencies are pinned
0SASTSAST tool is not run on all commits -- score normalized to 0
4Security-Policysecurity policy file detected
不适用Signed-Releasesno releases found
10Token-PermissionsGitHub workflow tokens follow principle of least privilege
9Vulnerabilities1 existing vulnerabilities detected
全部依赖 252

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

注册表软件包版本关系
npm@babel/code-frame7.29.7间接
npm@babel/compat-data7.29.7间接
npm@babel/core7.29.7间接
npm@babel/generator7.29.7间接
npm@babel/helper-annotate-as-pure7.29.7间接
npm@babel/helper-compilation-targets7.29.7间接
npm@babel/helper-create-class-features-plugin7.29.7间接
npm@babel/helper-globals7.29.7间接
npm@babel/helper-member-expression-to-functions7.29.7间接
npm@babel/helper-module-imports7.29.7间接
npm@babel/helper-module-transforms7.29.7间接
npm@babel/helper-optimise-call-expression7.29.7间接
npm@babel/helper-plugin-utils7.29.7间接
npm@babel/helper-replace-supers7.29.7间接
npm@babel/helper-skip-transparent-expression-wrappers7.29.7间接
npm@babel/helper-string-parser7.29.7间接
npm@babel/helper-validator-identifier7.29.7间接
npm@babel/helper-validator-option7.29.7间接
npm@babel/helpers7.29.7间接
npm@babel/parser7.29.7间接
npm@babel/plugin-proposal-decorators7.29.7间接
npm@babel/plugin-syntax-decorators7.29.7间接
npm@babel/plugin-syntax-jsx7.29.7间接
npm@babel/plugin-syntax-typescript7.29.7间接
npm@babel/plugin-transform-destructuring7.29.7间接
npm@babel/plugin-transform-explicit-resource-management7.29.7间接
npm@babel/plugin-transform-modules-commonjs7.29.7间接
npm@babel/plugin-transform-typescript7.29.7间接
npm@babel/preset-typescript7.28.5间接
npm@babel/template7.29.7间接
npm@babel/traverse7.29.7间接
npm@babel/types7.29.7间接
npm@ericcornelissen/arbitrary-javascript0.2.7间接
npm@eslint-community/eslint-utils4.9.1间接
npm@eslint-community/regexpp4.12.2间接
npm@eslint/config-array0.23.5间接
npm@eslint/config-helpers0.6.0间接
npm@eslint/core1.2.1间接
npm@eslint/object-schema3.0.5间接
npm@eslint/plugin-kit0.7.2间接
npm@humanfs/core0.19.2间接
npm@humanfs/node0.16.8间接
npm@humanfs/types0.15.0间接
npm@humanwhocodes/module-importer1.0.1间接
npm@humanwhocodes/retry0.4.3间接
npm@inquirer/ansi2.0.7间接
npm@inquirer/checkbox5.2.1间接
npm@inquirer/confirm6.1.1间接
npm@inquirer/core11.2.1间接
npm@inquirer/editor5.2.2间接
npm@inquirer/expand5.1.1间接
npm@inquirer/external-editor3.0.3间接
npm@inquirer/figures2.0.7间接
npm@inquirer/input5.1.2间接
npm@inquirer/number4.1.1间接
npm@inquirer/password5.1.1间接
npm@inquirer/prompts8.5.2间接
npm@inquirer/rawlist5.3.1间接
npm@inquirer/search4.2.1间接
npm@inquirer/select5.2.1间接
npm@inquirer/type4.0.7间接
npm@jridgewell/gen-mapping0.3.13间接
npm@jridgewell/remapping2.3.5间接
npm@jridgewell/resolve-uri3.1.2间接
npm@jridgewell/sourcemap-codec1.5.5间接
npm@jridgewell/trace-mapping0.3.31间接
npm@sec-ant/readable-stream0.4.1间接
npm@sindresorhus/merge-streams4.0.0间接
npm@stryker-mutator/api9.6.1间接
npm@stryker-mutator/core9.6.1间接
npm@stryker-mutator/instrumenter9.6.1间接
npm@stryker-mutator/tap-runner9.6.1间接
npm@stryker-mutator/util9.6.1间接
npm@types/esrecurse4.3.1间接
npm@types/estree1.0.9间接
npm@types/json-schema7.0.15间接
npmacorn8.17.0间接
npmacorn-jsx5.3.2间接
npmajv6.15.0间接
npmajv8.18.0间接
npmangular-html-parser10.4.0间接
npmansi-styles6.2.3间接
npmbalanced-match4.0.4间接
npmbaseline-browser-mapping2.10.42间接
npmbrace-expansion5.0.7间接
npmbrowserslist4.28.5间接
npmcall-bind-apply-helpers1.0.2间接
npmcall-bound1.0.4间接
npmcaniuse-lite1.0.30001803间接
npmchalk5.6.2间接
npmchardet2.2.0间接
npmcli-width4.1.0间接
npmcommander14.0.3间接
npmcomment-parser1.4.7间接
npmconvert-source-map2.0.0间接
npmcross-spawn7.0.6间接
npmdebug4.4.3间接
npmdeep-is0.1.4间接
npmdes.js1.1.0间接
npmdiff-match-patch1.0.5间接
npmdunder-proto1.0.1间接
npmelectron-to-chromium1.5.389间接
npmemoji-regex10.6.0间接
npmes-define-property1.0.1间接
npmes-errors1.3.0间接
npmes-object-atoms1.1.2间接
npmescalade3.2.0间接
npmescape-string-regexp4.0.0间接
npmeslint10.6.0间接
npmeslint-node-test0.2.0间接
npmeslint-plugin-regexp3.1.1间接
npmeslint-scope9.1.2间接
npmeslint-visitor-keys3.4.3间接
npmeslint-visitor-keys5.0.1间接
npmespree11.2.0间接
npmesquery1.7.0间接
npmesrecurse4.3.0间接
npmestraverse5.3.0间接
npmesutils2.0.3间接
npmevents-to-array2.0.3间接
npmexeca9.6.1间接
npmfast-check4.9.0间接
npmfast-deep-equal3.1.3间接
npmfast-json-stable-stringify2.1.0间接
npmfast-levenshtein2.0.6间接
npmfast-string-truncated-width3.0.3间接
npmfast-string-width3.0.2间接
npmfast-uri3.1.3间接
npmfast-wrap-ansi0.2.2间接
npmfigures6.1.0间接
npmfile-entry-cache8.0.0间接
npmfind-up5.0.0间接
npmflat-cache4.0.1间接
npmflatted3.4.2间接
npmfunction-bind1.1.2间接
npmgensync1.0.0-beta.2间接
npmget-intrinsic1.3.0间接
npmget-proto1.0.1间接
npmget-stream9.0.1间接
npmglob13.0.6间接
npmglob-parent6.0.2间接
npmgopd1.2.0间接
npmhas-symbols1.1.0间接
npmhasown2.0.4间接
npmhuman-signals8.0.1间接
npmiconv-lite0.7.3间接
npmignore5.3.2间接
npmimurmurhash0.1.4间接
npminherits2.0.4间接
npmis-extglob2.1.1间接
npmis-glob4.0.3间接
npmis-plain-obj4.1.0间接
npmis-stream4.0.1间接
npmis-unicode-supported2.1.0间接
npmisexe2.0.0间接
npmisexe4.0.0间接
npmjs-md40.3.2间接
npmjs-tokens4.0.0间接
npmjsdoc-type-pratt-parser7.2.0间接
npmjsesc3.1.0间接
npmjson-buffer3.0.1间接
npmjson-parse-even-better-errors6.0.0间接
npmjson-rpc-2.01.7.1间接
npmjson-schema-traverse0.4.1间接
npmjson-schema-traverse1.0.0间接
npmjson-stable-stringify-without-jsonify1.0.1间接
npmjson52.2.3间接
npmkeyv4.5.4间接
npmlevn0.4.1间接
npmlocate-path6.0.0间接
npmlodash.groupby4.6.0间接
npmlru-cache11.5.2间接
npmlru-cache5.1.1间接
npmmath-intrinsics1.1.0间接
npmmemorystream0.3.1间接
npmminimalistic-assert1.0.1间接
npmminimatch10.2.5间接
npmminipass7.1.3间接
npmms2.1.3间接
npmmutation-server-protocol0.4.1间接
npmmutation-testing-elements3.7.3间接
npmmutation-testing-metrics3.7.3间接
npmmutation-testing-report-schema3.7.3间接
npmmute-stream3.0.0间接
npmnatural-compare1.4.0间接
npmnode-releases2.0.51间接
npmnpm-normalize-package-bin6.0.0间接
npmnpm-run-all29.0.2间接
npmnpm-run-path6.0.0间接
npmobject-inspect1.13.4间接
npmoptionator0.9.4间接
npmp-limit3.1.0间接
npmp-locate5.0.0间接
npmparse-ms4.0.0间接
npmpath-exists4.0.0间接
npmpath-key3.1.1间接
npmpath-key4.0.0间接
npmpath-scurry2.0.2间接
npmpicocolors1.1.1间接
npmpicomatch4.0.5间接
npmpidtree1.0.0间接
npmprelude-ls1.2.1间接
npmprettier3.8.2间接
npmpretty-ms9.3.0间接
npmprogress2.0.3间接
npmpunycode2.3.1间接
npmpure-rand8.4.0间接
npmqs6.15.1间接
npmquote-js-string0.1.0间接
npmread-package-json-fast6.0.0间接
npmrefa0.12.1间接
npmregexp-ast-analysis0.7.1间接
npmrequire-from-string2.0.2间接
npmrxjs7.8.2间接
npmsafer-buffer2.1.2间接
npmscslre0.3.0间接
npmsemver6.3.1间接
npmsemver7.7.4间接
npmsemver7.8.5间接
npmshebang-command2.0.0间接
npmshebang-regex3.0.0间接
npmshell-quote1.9.0间接
npmside-channel1.1.1间接
npmside-channel-list1.0.1间接
npmside-channel-map1.0.1间接
npmside-channel-weakmap1.0.2间接
npmsignal-exit4.1.0间接
npmsource-map0.7.6间接
npmstrip-assertions1.0.2间接
npmstrip-final-newline4.0.0间接
npmtap-parser17.0.0间接
npmtap-yaml3.0.0间接
npmtree-kill1.2.2间接
npmtslib2.8.1间接
npmtunnel0.0.6间接
npmtype-check0.4.0间接
npmtyped-inject5.0.0间接
npmtyped-rest-client2.3.1间接
npmunderscore1.13.8间接
npmunicorn-magic0.3.0间接
npmupdate-browserslist-db1.2.3间接
npmuri-js4.4.1间接
npmweapon-regex1.3.6间接
npmwhich2.0.2间接
npmwhich7.0.0间接
npmword-wrap1.2.5间接
npmyallist3.1.1间接
npmyaml2.9.0间接
npmyaml-types0.3.0间接
npmyocto-queue0.1.0间接
npmyoctocolors2.1.2间接
npmzod4.4.3间接
原始 JSON 报告 机器可读

反馈

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

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

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

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

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