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

@irisu25/arch-viz

v1.3.0

Published

Interactive Dependency Architecture Map Visualizer

Readme

Arch-Viz

Zero-config, interactive architecture visualization for JavaScript and TypeScript projects.

Arch-Viz is a lightweight CLI tool that instantly maps out your codebase. It statically analyzes your import and require statements to generate a beautiful, interactive dependency graph right in your browser.

Features

  • Zero Configuration: Works out of the box. No webpack plugins, no Babel configs required.
  • Interactive Graph: Pan, zoom, and drag nodes. Powered by Vis.js with a smart physics engine.
  • Interactive Filtering: Domain-based filtering! Use the sidebar checkboxes to show/hide specific folders or hide External NPM Packages to declutter your view.
  • Focus Mode: Click on any file to instantly highlight its direct dependencies and dim the rest of the noise.
  • IDE Integration: Double-click any node in the browser to instantly open that exact file in your preferred editor (VSCode, Cursor, WebStorm, etc.)!
  • External NPM Detection: Maps out your 3rd-party dependencies (React, Lodash, etc.) and isolates them dynamically.
  • Dead Code Detection: Automatically spots orphaned files that are never imported anywhere.
  • Custom Ignore: Use --ignore=folder1,folder2 to skip heavy or irrelevant directories.
  • Live Reload: Run with --watch to automatically rebuild the graph in your browser as you type code.
  • Sleek UI: Premium GitHub Dark Dimmed theme with Glassmorphism overlay, intuitive Info Panels, and native SVG icons.

Quick Start

You don't even need to install it globally! You can run it directly using npx on any existing project:

# Run in your current directory
npx @irisu25/arch-viz

# Target a specific folder
npx @irisu25/arch-viz ./src

# Exclude specific folders like tests or components
npx @irisu25/arch-viz ./src --ignore=tests,components

# Specify an IDE manually if running from a non-IDE terminal (e.g., cursor, webstorm, idea, subl)
npx @irisu25/arch-viz ./src --editor=cursor

# Watch mode: auto-rebuilds graph on file changes (Live Reload)
npx @irisu25/arch-viz ./src --watch

Manual Installation

If you prefer to clone and run it locally:

git clone https://github.com/irisu25/arch-viz.git
cd arch-viz
npm install
npm run build

# Link the package globally
npm link

# Now you can use it anywhere!
arch-viz ./src

How It Works

  1. Scanner: Recursively searches the target directory for supported code files.
  2. Extractor: Uses regex pattern matching to extract all ES6 import and CommonJS require() dependencies.
  3. Generator: Compiles the data into a static, self-contained HTML file (arch-viz-output.html) injected with vis-network data.
  4. Auto-Open: Automatically launches your default web browser to display the graph.

License

MIT License.