https://github.com/irustm/ng-app-counter
Count the number of Modules, Lazy Modules, Pipes, Providers, Directives, Components and Routes used in an Angular application.
https://github.com/irustm/ng-app-counter
Last synced: 9 months ago
JSON representation
Count the number of Modules, Lazy Modules, Pipes, Providers, Directives, Components and Routes used in an Angular application.
- Host: GitHub
- URL: https://github.com/irustm/ng-app-counter
- Owner: irustm
- License: mit
- Created: 2019-01-05T18:57:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T23:40:59.000Z (over 2 years ago)
- Last Synced: 2025-04-13T03:02:42.313Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 861 KB
- Stars: 93
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/ng-ast/ngast) and [quess-parser](https://github.com/guess-js/guess/tree/master/packages/guess-parser) for parse routers

## Usage
```bash
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

## License
MIT