npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ng-loom

v0.1.0

Published

Angular-aware dependency visualizer for Angular CLI workspaces.

Readme

ng-loom

Angular-aware dependency visualization for Angular CLI workspaces.

ng-loom is a CLI that scans an Angular project and emits a shareable, self-contained static HTML report of the app's architecture: components, directives, pipes, services, NgModule wrappers, standalone imports, and dependency injection edges.

Status

Working, actively developed. Verified against a public Angular app (screenshots below) and a large private production workspace.

Screenshots

Generated from the public ngx-admin dashboard template (294 nodes, 340 edges).

Overview — folder/package clusters

Overview clusters

All artifacts — flat dependency graph

All artifacts

Node focus with Details panel

Node focus and details

Trace relation — multi-path lookup between two artifacts

Trace relation

Usage

npx ng-loom ./path/to/angular-project --out report.html

For local development:

npm install
npm run build
npm run dev -- ./path/to/angular-project --out report.html

Features

  • Angular workspace and tsconfig discovery, including Angular CLI multi-project workspaces and local file: package dependencies
  • Component, directive, pipe, service, and NgModule discovery, including the @Service() decorator (experimental, unreleased Angular builds) alongside @Injectable()
  • Standalone component imports extraction and NgModule imports/exports/declarations extraction
  • hostDirectives tracking, including the { directive, inputs, outputs } aliasing form
  • Constructor DI and inject() dependency detection
  • Lazy route detection for loadChildren and loadComponent
  • Real Angular template AST parsing (@angular/compiler's parseTemplate) for component/directive usage edges, including attribute selectors, structural directives, and the @if/@for/@switch/@defer/@let control-flow syntax
  • @Input()/@Output()/model API extraction, including aliases and the signal-based input()/output()/model() functions
  • Source-location evidence on every edge (file, line, column, snippet, and a vscode:// deep link)
  • Self-contained static HTML report: zoomable/pannable dependency graph, folder/package cluster overview, node focus + Details panel, multi-path trace relation lookup, dark theme
  • --include and --exclude path filters

Known Limitations

  • Pipe usage in templates ({{ value | pipeName }}) is not yet tracked as a uses edge
  • Class-selector matching only looks at the static class="..." attribute, not [class.x]/[ngClass] bindings
  • Route parsing handles common static component/loadComponent patterns, not every dynamic route construction
  • No Nx monorepo support — resolveWorkspace only looks for tsconfig.app.json/tsconfig.json directly in the given root
  • Expanded cluster state is not persisted across report reloads
  • Trace path ranking is heuristic and may surface many similar paths in dense component graphs