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

@vitus-labs/tools-atlas

v1.15.4

Published

Interactive dependency graph visualizer and monorepo health analyzer.

Readme

@vitus-labs/tools-atlas

Interactive dependency graph visualizer and monorepo health analyzer.

Generates a standalone HTML page with ECharts charts (force, tree, matrix views) and AI-readable reports (Markdown/JSON) with actionable suggestions.

Installation

bun add -d @vitus-labs/tools-atlas

Usage

CLI

Add to your package.json:

{
  "scripts": {
    "atlas": "vl_atlas"
  }
}

Run it:

bun run atlas

CLI Options

vl_atlas [options]
  -o, --output <path>         Output HTML path (default: ./atlas.html)
  -w, --workspaces <globs...> Workspace patterns
  --dep-types <types...>      Dependency types to include
  --include <patterns...>     Only include matching packages
  --exclude <patterns...>     Exclude matching packages
  --no-open                   Don't auto-open the HTML
  --title <title>             Page title
  --report <format>           Generate report: 'markdown' or 'json'
  --no-report                 Skip report generation

Programmatic API

import { generateAtlas } from '@vitus-labs/tools-atlas'

await generateAtlas({
  workspaces: ['packages/*'],
  depTypes: ['dependencies', 'peerDependencies'],
  outputPath: './atlas.html',
  report: 'markdown',
})

Configuration

Configure via vl-tools.config.mjs (key: atlas):

export default {
  atlas: {
    workspaces: ['packages/*'],
    depTypes: ['dependencies', 'peerDependencies', 'devDependencies'],
    include: [],
    exclude: [],
    outputPath: './atlas.html',
    open: true,
    title: 'Atlas — Dependency Graph',
    report: 'markdown',
  },
}

| Option | Default | Description | |---|---|---| | workspaces | ['packages/*'] | Glob patterns for workspace directories | | depTypes | ['dependencies', 'peerDependencies', 'devDependencies'] | Dependency types to include | | include | [] | Only include packages matching these patterns | | exclude | [] | Exclude packages matching these patterns | | outputPath | './atlas.html' | Output HTML file path | | open | true | Auto-open the HTML in browser | | title | 'Atlas — Dependency Graph' | Page title | | report | 'markdown' | Report format: 'markdown', 'json', or false |

Analysis

Atlas runs the following analyses on your monorepo:

| Analysis | Description | |---|---| | Cycles | Detects circular dependencies via DFS coloring | | Impact | Maps transitive dependents via reverse BFS | | Depth | Computes dependency chain depth and critical path | | Bundle Size | Estimates lib/ output sizes (own + transitive) | | Version Drift | Flags external dependencies with mismatched versions across packages | | Health Score | 0-100 score per package based on cycles, orphans, depth, drift | | Change Frequency | Git commit frequency per package + hotspot detection |

Visualization

The HTML output includes three switchable chart views:

  • Force — Interactive force-directed graph. Nodes sized by impact, cycle nodes highlighted in red.
  • Tree — Hierarchical DAG layout by dependency depth.
  • Matrix — NxN heatmap showing dependency relationships.

Plus a sidebar with search/filter, dependency type legend, and analysis panels.

Report

The generated report includes actionable suggestions:

  • Cycle-breaking recommendations
  • Deep chain flattening advice
  • Orphan package warnings
  • Version alignment suggestions
  • Hotspot risk alerts (high-impact + high-churn packages)

License

MIT