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

next-project-map

v1.0.0

Published

Next.js Project Architecture Visualizer. A CLI tool that transforms abstract codebases into interactive, high-fidelity maps.

Readme

NEXT Project Map

Next.js Project Architecture Visualizer

NEXT Project Map is a high-fidelity CLI tool designed to transform abstract Next.js codebases into interactive, architectural blueprints. It uses TypeScript AST parsing to generate precise maps of your application's internal anatomy.

Preview Image

One Map, Four Perspectives

  • The Route Tree: A high-level visualization of your Next.js file-system routing. Perfect for mapping out the user journey and layout nesting.
  • The Dependency Graph: A deep-dive into code relationships. Instantly see how a single change to a shared component ripples through your entire app.
  • The Component Topology: A structural look at your UI's "physical" layout. Understand the spatial relationship between layouts, pages, and their nested children.
  • The Architecture Map: The ultimate project blueprint. A shared source of truth for onboarding new developers and communicating project scale to stakeholders.

Technical Features

  • Framework-Aware Route Nodes: Groups Next.js folder conventions (layout, page, loading, error) into logical nodes.
  • RSC Boundary Visualizer: Detects "use client" directives and renders the transition between Server and Client environments as a clear visual boundary.
  • Dependency Tracing: Follows imports to show how components are shared across routes.
  • Interactive Focus Mode: Hover or search to highlight specific components while others dim.
  • Hot Spot Detection: Highly-connected components are visually highlighted.
  • Dual-Theme Support: High-fidelity mapping in both Blueprint Light and Tech-Noir Dark modes.

Quick Start

No configuration required. Point it at your project root and it discovers your Next.js app automatically.

npx next-project-map

How it Works

  1. CLI Scan: The tool uses ts-morph to perform a three-pass AST scan of your project.
  2. Data Generation: It extracts routes, layouts, and component dependencies.
  3. Dashboard Launch: A local React Flow dashboard opens in your browser with the interactive map.

Privacy & Security

  • Local-First: Your source code never leaves your machine.
  • AST-Only: The tool reads the structure and relationships of your code without executing it.
  • Zero Upload: No cloud sync, no accounts, no risk.

Made By

Built with precision by tieallen.