Star on GitHubStar1.1k stars

Tool

ngrev

Electron desktop application that statically analyzes an Angular project's TypeScript sources and draws interactive graphs of its NgModules, components, directives, pipes and providers and how they depend on each other, without running the application. A project is loaded through its tsconfig file; views move from the module tree to individual modules, templates and providers, with fuzzy symbol search and PNG export of the current graph.

Targets
Website
Category
Website analysis tools
Relationship
Foundation tool
Sources reviewed

Requirements & limits

  • Dormant: the latest release is v0.0.35 of 2021-01-18, with an unsigned macOS .dmg, a Linux AppImage and a Windows .exe. The reviewed master commit dates from 2021-07-26 and package.json already names an unreleased 0.0.36. The README calls it a community side project that the Angular team does not maintain.
  • Input is an Angular project's own source tree with its dependencies installed; for Angular CLI apps the README selects src/tsconfig.app.json. Applications must be compatible with the Ivy compiler, and versions older than Angular 11 are untested. The analyzer pins @angular/compiler-cli 11.0.3, ngast 0.6.2 and TypeScript 4.0.5, and support for later Angular releases is not documented. Deployed or minified bundles are not analyzed.
  • Source builds use Node.js and yarn (CI uses Node 12), Angular CLI 11 and Electron 11.1.0 packaged by electron-builder. The CI workflow runs a Spectron end-to-end test on macOS, Ubuntu and Windows that opens the app and parses a small Angular 11 fixture project; it does not check graph accuracy on real applications.
  • The README states MIT; LICENSE.md is the MIT text carried over from the angular-electron template, with its author's 2020 copyright line. Graphs show what ngast resolves from the sources, not runtime behaviour.

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · mgechev/ngrev · Revision edd1ee3
  2. README.md#L37-L48 GitHub · mgechev/ngrev · Revision edd1ee3
  3. package.json GitHub · mgechev/ngrev · Revision edd1ee3
  4. src/electron/model/project.ts GitHub · mgechev/ngrev · Revision edd1ee3
  5. .github/workflows/build.yml GitHub · mgechev/ngrev · Revision edd1ee3
  6. e2e/main.e2e.ts GitHub · mgechev/ngrev · Revision edd1ee3
  7. LICENSE.md GitHub · mgechev/ngrev · Revision edd1ee3
  8. https://github.com/mgechev/ngrev/releases/tag/v0.0.35

More in Websites

All 61 entries in Websites

↑↓ move↵ open⌘↵ new tab