/ng-app-counter

Count the number of Modules, Lazy Modules, Pipes, Providers, Directives, Components and Routes used in an Angular application.

Primary LanguageTypeScriptMIT LicenseMIT

ng-app-counter

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

screen angular counter

Usage

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

Stat of use

screen angular counter stat

License

MIT