Ng App Counter

screenshot of Ng App Counter
angular

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

Overview

The ng-app-counter is a handy tool for developers working with Angular applications. It provides an efficient way to measure the various components of your app, such as Modules, Lazy Modules, Pipes, Providers, Directives, Components, and Routes. This insight can be invaluable for optimizing your application structure and ensuring you are following best practices.

With its reliance on ngast and quess-parser for parsing routers, ng-app-counter can seamlessly integrate into your workflow. By simply running a command, developers can output a detailed count of the key elements in their applications, making it a straightforward utility for project analysis.

Features

  • Comprehensive Counting: Counts Modules, Lazy Modules, Pipes, Providers, Directives, Components, and Routes to give a full overview of your Angular application structure.
  • Ease of Use: Simple command (npm run count) to get the statistics enables quick integration into development processes.
  • Utilizes Powerful Libraries: Employs ngast and quess-parser for reliable parsing of Angular routers, ensuring accuracy in reporting.
  • Open Source License: Distributed under the MIT license, allowing for easy use and modification for personal or commercial projects.
  • Project Analysis: Helps in assessing application complexity which is essential for maintaining and improving performance.
  • Suitable for All Levels: Beneficial for both beginners and seasoned developers looking to optimize their Angular applications effectively.
angular
Angular

Angular is a TypeScript-based open-source framework by Google for building dynamic single-page applications and cross-platform mobile apps with MVC architecture and a rich set of features.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.