
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
为了方便开发过程,统一使用 n20-common-lib 提供的 $l 方法, 移除废弃历史版本中的 $t。
Usage: g20-utils <command> [options]
G20集成开发工具包
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
pick-up [options] 提取代码中的中文字符
replace-prototype [options] 统一项目中多语言属性 把 $t 替换为 $l
translate [options] 将项目中的中文翻译为其他语言
help [command] display help for command
$t 替换 $lUsage: g20-utils replace-prototype [options]
统一项目中多语言属性 把 $t 替换为 $l
Options:
-o, --designation [type...] 处理指定的文件
-l, --lang [type...] 中文语言包位置
-h, --help display help for command
如果遇到没有翻译的会输出到 module/no-translate.json 文件中
module/i18n-zh.jsonUsage: g20-utils pick-up [options]
提取代码中的中文字符
Options:
-i, --ignores [type...] 不包含那些目录
-f --force 强制覆盖已经提取的内容
-h, --help display help for command
Usage: g20-utils translate [options]
将项目中的中文翻译为其他语言
Options:
-l, --lang [lang] 目标语言简写, 比如英语 en 越南语: vi。默认为 en
-i, --input [input] 中文目录的位置, 默认为 ./i18n-zh.json
-o, --output [output] 输出到指定位置, 默认为 ./lang/i18n.json
-t, --token <token> AI的token 联系作者获取 token
-h, --help display help for command
FAQs
G20开发集成工具
The npm package gcm-utils receives a total of 2 weekly downloads. As such, gcm-utils popularity was classified as not popular.
We found that gcm-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.