Code Stats
Visualizes repository complexity by counting files, lines of code, and grouping by extension. Use to assess project size or growth.
Latest: v1.0.0
Initial release: Analyze and visualize repository complexity.
- Counts total files and approximate lines of code in a workspace.
- Groups results by file extension.
- Outputs a JSON object with detailed project metrics.
- Defaults to analyzing the current directory if no path is provided.
Code Stats
Analyzes the current workspace to provide development metrics.
Usage
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.
