code-stats

TotalClaw 作者 totalclaw

通过计算文件、代码行数和按扩展名分组来可视化存储库的复杂性。用于评估项目规模或增长。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~wanng-ide-code-stats
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~wanng-ide-code-stats/file -o wanng-ide-code-stats.md
## 概述(中文)

通过计算文件、代码行数和按扩展名分组来可视化存储库的复杂性。用于评估项目规模或增长。

## 原文

# Code Stats

Analyzes the current workspace to provide development metrics.

## Usage

```bash
node skills/code-stats/index.js [path]
```

Defaults to current working directory if path is omitted.

## Output

JSON object with:
- `files`: Total file count.
- `lines`: Total line count (approximate).
- `byExt`: Breakdown by file extension.