Dependency Graph Visualizer
Paste your package.json to visualize your dependency tree — see all packages by category, version ranges, counts, and spot potential issues like too many dependencies or misplaced dev packages.
Overview
Version Range Guide
^1.2.3 — compatible (minor+patch)~1.2.3 — patch only1.2.3 — exact version* / latest — any (risky)>=1.0 <2.0 — rangeworkspace:* — monorepoRelated Products
on GumroadPremium Workflow Pack
Production-grade workflows, architecture guides, and deployment scripts for teams that ship. 10 advanced CI/CD workflows (blue-green, canary, E2E, security), 5 architecture deep-dives, code review checklist, PR process guide, and 5 battle-tested Bash deployment scripts.
Buy on Gumroad →GitHub Actions CI/CD Templates Pack
12 production-ready GitHub Actions workflow templates covering Node.js, Python, Docker, multi-environment deployments, security scanning, and auto-changelog. Copy, paste, ship.
Buy on Gumroad →TypeScript Quick Reference Toolkit
5 practical reference files for TypeScript developers: cheatsheet, TS vs JS comparison, 20 utility types with real examples, tsconfig best practices template, and 15 common mistakes guide. Print it. Keep it on your desk.
Buy on Gumroad →You Might Also Need
npm Package Stats
Look up npm package weekly download counts, unpacked size, dependency count, latest version, license, and repository link. Live data from the npm registry.
Open free tool →
pnpm Workspace Generator
GUI to configure a pnpm monorepo workspace with package globs, catalog entries, overrides, and options. Generates a ready-to-use pnpm-workspace.yaml file.
Open free tool →
NPM Bundle Size Estimator
Check npm package bundle sizes — minified and gzip. Enter multiple packages at once, see tree-shaking info, and compare sizes side by side.
Open free tool →
More Free Tools
Related Articles
pnpm vs npm vs yarn: Package Manager Performance Benchmark 2026
Real benchmarks comparing pnpm, npm, and yarn in 2026 — install speed, disk usage, monorepo support, lockfile format, and which to choose for your JavaScript project.
Bun vs npm vs Yarn vs pnpm: Package Manager Speed & DX Comparison 2025
Detailed comparison of Bun, npm, Yarn, and pnpm package managers. Real install speed benchmarks, lockfile differences, monorepo support, security models, and when to choose each in 2025.
Nx vs Turborepo vs pnpm Workspaces: Choosing Your Monorepo Tool in 2026
A comprehensive 2026 comparison of Nx, Turborepo, and pnpm Workspaces — covering architecture, caching, generators, performance, and real-world use cases to help you pick the right monorepo tool.
pnpm vs npm vs Yarn: Node.js Package Manager Comparison 2026
A comprehensive technical comparison of pnpm, npm, and Yarn for Node.js development in 2026 — covering install speed, disk usage, workspace support, lockfile format, monorepo capabilities, and a migration guide.
npm vs pnpm vs Yarn vs Bun: Best JavaScript Package Manager in 2026
A comprehensive comparison of npm, pnpm, Yarn Classic, Yarn Berry, and Bun package managers. Benchmark data, disk usage, monorepo support, and a recommendation matrix to help you pick the right tool in 2026.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →Frequently Asked Questions
What is a dependency graph?▼
A dependency graph is a directed graph where each node is a package and each edge shows that one package requires another. It helps visualize how packages relate, identify deeply nested dependencies, spot duplicate versions, and understand the weight of each top-level dependency. Tools like npm ls and yarn why generate these, but this tool lets you visualize them directly from package.json.
What is the difference between dependencies and devDependencies?▼
dependencies are packages required at runtime — they are bundled into production builds. devDependencies are only needed during development (testing, building, linting) and are not included in production bundles. peerDependencies are packages the host project must provide — common in plugin/library packages. Keeping these three groups correct reduces bundle size and security surface area.
What is dependency depth and why does it matter?▼
Dependency depth is how many levels of indirection separate your code from a package. A depth-1 package is in your package.json. A depth-3 package is a dependency of a dependency of a dependency. Deep dependencies are harder to audit, easier to have multiple conflicting versions, and can cause supply chain security risks (as shown by the leftpad and event-stream incidents).
How do I identify unused dependencies?▼
Run npx depcheck or npx knip to find unused packages. A package in package.json but never imported in your source code wastes bundle space and is a security liability. Regularly audit with npm ls and remove anything not actively used. Note: some tools like babel presets or webpack plugins are used via config files, not direct imports.
What is a circular dependency?▼
A circular dependency is when package A requires B and B requires A (directly or transitively). In Node.js, this can cause one module to receive an incomplete exports object. Tools like madge detect circular dependencies in your own source files. In npm packages, circular deps are prevented by npm's resolution algorithm, but they can still cause subtle loading order issues.