JSPM

@modulens/angular

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q70262F
  • License ISC

Architecture, structure, and quality analysis CLI for Angular workspaces. Scans projects, detects risks, and generates HTML reports.

Package Exports

  • @modulens/angular
  • @modulens/angular/dist/cli/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@modulens/angular) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Modulens for Angular

Modulens for Angular is a CLI tool for analyzing Angular workspaces and generating architecture, structure, and quality reports. It helps you spot large components, architectural risks, warning hotspots, and areas that may need refactoring.


Installation

Global install

npm install -g @modulens/angular

Then run:

modulens scan

One-off usage with npx

npx @modulens/angular scan

Quick start

Run Modulens in your Angular project directory:

modulens scan

This scans the current working directory and generates an HTML report.

You can also scan a specific workspace path:

modulens scan "path/to/workspace"

Usage

Scan the current directory

modulens scan

Explicitly scan the current directory

modulens scan .

Scan a specific Angular workspace

modulens scan "path/to/workspace"

By default, modulens scan uses the current working directory (process.cwd()) as the workspace root.


Output

Modulens generates an HTML report file in the scanned workspace directory.

The report file name follows this pattern:

modulens-angular-report-<workspace>.html

After the scan is completed, the report is opened in your default browser.


Example

modulens scan

or

npx @modulens/angular scan "C:/projects/my-angular-app"

Requirements

  • Node.js 18+
  • An Angular workspace to scan

Limitations

Modulens for Angular is still in an early stage. Some checks are intentionally simple, reports are being refined, and output and scoring logic may evolve between versions.


Roadmap

Planned improvements may include:

  • richer architecture insights
  • stronger rule coverage
  • smarter risk analysis
  • clearer explanations for warnings
  • more detailed and polished reports

License

ISC