Socket
Book a DemoInstallSign in
Socket

depviz-cil

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depviz-cil

A CLI tool for visualizing npm dependencies in your Node.js projects

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
0
Created
Source

depviz-cli

License: AGPL-2.0 PRs Welcome GitHub Issues

⚠️ WARNING: WORK IN PROGRESS - NOT 100% READY, USE AT YOUR OWN RISK ⚠️

This project is under active development and may contain bugs or incomplete features. Feel free to try it out, but be aware that some functionality might not work as expected.

A powerful command-line tool for visualizing and analyzing npm dependencies in your Node.js projects.

depviz-cli preview

✨ Features

  • 📊 Interactive Visualization
    • Force-directed graph layout
    • Hierarchical tree view
    • Tabular data view
  • 🔍 Dependency Analysis
    • Detect duplicate dependencies
    • Identify circular dependencies
    • Track dependency sizes
  • 📝 Package Information
    • License information
    • Version tracking
    • Outdated package detection
  • 🌐 Web Interface
    • Real-time visualization
    • Interactive node manipulation
    • Search and filter capabilities

🚀 Quick Start

Installation

# Global installation
npm install -g depviz-cli

# Or run directly with npx
npx depviz-cli

Basic Usage

# Launch the tool
depviz

# Analyze a specific package
depviz analyze <package-name>

🎮 Interactive Mode

When you run depviz, you'll be presented with an interactive menu offering the following options:

OptionDescription
🔍 DuplicatesFind and list duplicate dependencies
📦 Package SizesAnalyze and display package sizes
📝 LicensesShow license information for all packages
🔄 UpdatesCheck for outdated packages
🌐 VisualizeOpen the web visualization interface

🖥️ Web Visualization

The web interface provides three different views of your dependency graph:

1. Force-Directed Graph

  • Drag nodes to rearrange
  • Zoom with mouse wheel
  • Pan by dragging the background
  • Hover for quick info
  • Click for detailed package view

2. Tree View

  • Hierarchical representation
  • Collapsible branches
  • Clear parent-child relationships
  • Easy to follow dependency chains

3. Table View

  • Sortable columns
  • Quick filtering
  • Comprehensive package details
  • Export capabilities

🛠️ Development

# Clone the repository
git clone https://github.com/TheRealPerson98/depviz-cil.git
cd depviz-cil

# Install dependencies
npm install

# Build the project
npm run build

# Start in development mode
npm run dev

🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/AmazingFeature)
  • Commit your Changes (git commit -m 'Add some AmazingFeature')
  • Push to the Branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

📝 License

Distributed under the AGPL-2.0 License. See LICENSE for more information.

Built with ❤️ by TheRealPerson98

Keywords

cli

FAQs

Package last updated on 19 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts