A Node.js tool that statically analyzes Angular components to detect service usage patterns and routing information from any API library.
NgLens is a static analysis tool for Angular applications that examines TypeScript components to identify service dependencies and method usage. It helps developers understand API consumption, plan refactoring, and map component relationships in large codebases.
NgLens follows a modular, class-based architecture adhering to the Single Responsibility Principle. Key components include the AngularAnalyzer orchestrator, ImportAnalyzer for detecting injections, ServiceUsageAnalyzer for method call tracking, RoutingAnalyzer for route parsing, and ReportGenerator for output formatting.
NgLens is designed to provide deep, actionable insights into Angular codebases through static analysis, enabling better understanding of API usage and component dependencies without runtime overhead.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.