Count the number of Modules, Lazy Modules, Pipes, Providers, Directives, Components and Routes used in an Angular application.
This tool uses ngast and quess-parser for parse routers
npx ng-app-counter
# or to define a tsconfig
npx ng-app-counter -p ./project/tsconfig.json
Or
npm install --save-dev ng-app-counter
// package.json section scripts
"scripts": {
"count": "ng-app-counter",
...
Run npm run count
MIT