
Codebase Tracker
A CLI tool and NPM package for static code analysis that uses file system parsing to map function calls and component usage.
Overview
Codebase Tracker is a powerful CLI utility built for developers who need to get a high-level overview of their codebase's architecture. It statically analyzes project files to generate dependency graphs, function call maps, and component usage statistics. This tool is particularly useful for auditing large legacy codebases or onboarding new team members by providing a clear map of how different parts of the application interact.
Key Features
- Fast file system traversal and parsing
- Generation of visual dependency graphs
- Support for JavaScript, TypeScript, and Python files
- Customizable ignore patterns (.gitignore support)
- Export reports in .txt format with proper styling to understand the data
Learnings & Challenges
- Deep dive into Abstract Syntax Trees (AST) for code analysis.
- Building robust CLI interfaces with intuitive user feedback.
- Handling large file systems efficiently using Node.js streams.
Gallery

NPM page of Codebase Tracker