
typescript - How to detect dead or unused code in Angular ...
Nov 11, 2018 · (From my experience, you might get a false positive for components solely used in app.component.html, so check for those!) ngx-unused will then print you a list of each unused …
Clean up unused imports • Angular
As of version 19, Angular reports when a component's imports array contains symbols that aren't used in its template.
Detect and remove unused Angular code - DEV Community
Jul 15, 2025 · Ever wonder if your Angular project is bloated with unused components, directives, pipes, or services? Say hello to ngx-unused — a powerful CLI tool that helps you find and …
How to check for unused modules in Angular? - Stack Overflow
I don’t know about a tool what I usually do is that after I finish changing my source code I remove all imports and use Rider’s (I think all angular supported jetbrains app can do this) alt+enter …
Optimize Angular Apps with Unused Standalone Imports
Sep 8, 2024 · Optimize Angular Apps with Unused Standalone Imports Diagnostic in v19 One of the most anticipated features since the introduction of standalone components is the ability to …
Angular - How to remove and avoid unused imports - Daniel K
Angular - How to remove and avoid unused imports Who else wants to remove unused imports from their Angular app? 🤔 A common cause of bloated Angular applications is unneeded …
unused-components-checker - npm Package Security Analysis
Unused Components Checker is a lightweight tool that helps you identify Angular components that are not being used in your project. It checks whether the components are mentioned in …
Strengths and Limitations of Knip for Unused Code Detection ...
Mar 20, 2024 · Some dependencies are used in the angular.json file, some in .sass files. This is something that can be improved in the plugins used by Knip. Knip Scan Results Summary …