collet-treemap-0.0.1 has been yanked.
collet-treemap
Tree-sitter based repository code map generator.
Analyze repository structure and generate code maps in JSON or text format.
Features
- 🌳 Repository structure analysis using tree-sitter
- 📊 Generate code maps with file and symbol information
- 🗣️ Multi-language support (Rust, Python, JavaScript)
- 📤 Multiple output formats (JSON, plain text)
- 🔧 Both CLI and library interfaces
Installation
CLI Usage
# Generate JSON code map for current directory
# Analyze only Rust files
# Generate text report
# Custom output with options
Library Usage
use ;
use Path;
Output Example
JSON output includes:
Supported Languages
- Rust -
.rsfiles - Python -
.pyfiles - JavaScript -
.js,.jsx,.ts,.tsxfiles
Options
--format <FORMAT>- Output format:jsonortext(default: json)--lang <LANGUAGE>- Filter by language:rust,python,js--max-depth <DEPTH>- Maximum directory traversal depth (default: 10)
License
Apache-2.0