dsh-code-stats
Manifest valid@{name=dsh-code-stats; version=0.1.0; description=Code statistics: scan the project, count files and lines of code by language, return the language distribution and the list of largest files; type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone}
dsh-code-stats · 代码统计
扫描项目,按语言统计文件数与代码行数,返回语言分布与最大文件清单。纯 Node 实现,无网络、无外部服务。
提供的工具
| 工具 | 作用 |
|---|---|
code_stats | 统计文件数/行数,按语言分组,列出最大文件 |
安装
dsh plugin add dsh-code-stats
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-code-stats"。
用法示例
帮我看看这个项目的规模和技术构成
→ 调用 code_stats(root="/workspace")
说明
- 支持 30+ 语言扩展名识别(JS/TS/Python/Go/Rust/Java/JSON/YAML/Markdown 等)。
- 自动跳过 node_modules、.git、二进制/图片/压缩包/锁文件等。
安装
dsh plugin add github:uckkk/dsh-code-stats
安装即在本机运行第三方代码,请自行审阅源码。
安装
dsh plugin add github:uckkk/dsh-code-stats
使用
安装后在会话中调用该插件注册的工具即可。
许可
MIT
安装即在本机运行第三方代码,请自行审阅源码。
Comments
Loading…
Similar plugins
by uckkk
@{name=dsh-number-words; version=0.1.0; description=数字转大写:阿拉伯数字转中文大写(金额/票据场景),支持小数与负数(Number to Chinese uppercase words tool for DSH); type=module; main=lib/index.js; exports=; files=System.Object[];
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-number-wordsby uckkk
@{name=dsh-random; version=0.1.0; description=随机工具:安全随机整数/字符串、数组抽样与洗牌(crypto); type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad571@qq.
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-randomby uckkk
@{name=dsh-string-similarity; version=0.1.0; description=字符串相似度:Levenshtein/Jaccard 等算法计算文本相似度(String similarity tool for DeepSeek Harness); type=module; main=lib/index.js; exports=; files=System.Obje
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-string-similarityby uckkk
@{name=dsh-toml; version=0.1.0; description=TOML ↔ JSON 转换; type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad571@qq.com>; license=MIT;
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-tomlby uckkk
@{name=dsh-jwt-uckkk; version=0.1.0; description=JWT 解码:解析 header/payload,判断过期(不验签); type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad5
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-jwt-uckkkby uckkk
@{name=dsh-url; version=0.1.0; description=URL 工具:解析 URL 为结构化成分,或用参数构造 URL; type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad571@qq.com
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-url