@kundan_gosavi/codesync
v1.0.1
Published
CLI tool for analyzing codebase architecture, dependencies, complexity and risks
Maintainers
Readme
From code chaos to clarity.
Code Analyzer is a CLI tool + interactive dashboard that helps you understand your codebase by analyzing dependencies, complexity, and impact before making changes.
Why Code Analyzer?
Understanding large codebases is slow and error-prone.
Code Analyzer helps you:
- Visualize your codebase as a dependency graph
- Identify complex and high-risk files
- Detect circular dependencies
- Understand impact before making changes
- Find unused (dead) code
Quick Start
Run instantly using npx:
npx code-analyzerOR
npm install -g code-analyzer
code-analyzerWhat it does
- Builds a dependency graph of your code
- Detects circular dependencies
- Calculates complexity scores
- Finds unused files
- Provides impact analysis
Dashboard
Launch the interactive dashboard:
code-analyzer dashboard- Visual graph of your codebase
- Click nodes to explore dependencies
- View impact and complexity insights
- Get AI insights
Commands
code-analyzer analyze <path>
code-analyzer detail-analysis <path>
code-analyzer complexity <path>
code-analyzer cycles <path>
code-analyzer depth-table <path>
code-analyzer dashboardUse --json for machine-readable output.
How it works
- Parses your codebase
- Builds dependency relationships
- Computes graph structure
- Extracts insights (complexity, cycles, impact)
Use Cases
- Understanding unfamiliar codebases
- Safe refactoring
- Debugging dependency issues
- Identifying technical debt
Requirements
- Node.js 18+
- JavaScript / TypeScript project
Documentation
Full docs available at:
👉 https://kundangosavii.github.io/CodeSync/
Roadmap
- Multi-language support (Python, C++, etc.)
- Config file support
- Advanced filtering and insights
- Performance optimization
Contributing
Contributions are welcome.
- Open an issue
- Submit a PR
- Suggest improvements
License
MIT License
Author
Built by Kundan Gosavi
