Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DepLensNew to Visual Studio Code? Get it now.
DepLens

DepLens

Semahegn Adugna

|
3 installs
| (0) | Free
Gain clarity on your dependencies - Analyze JavaScript/Node.js projects to identify conflicts, security issues, and deprecated packages
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Node Dependency Analyzer - VS Code Extension

Analyze JavaScript/Node.js project dependencies to identify and report conflicts directly in your editor.

Features

  • 🔍 Automatic Conflict Detection - Scans your project on file save
  • 📊 Inline Diagnostics - See conflicts directly in your package.json
  • 🌳 Tree View - Browse all conflicts in the Explorer sidebar
  • ⚡ Quick Fixes - Get suggested fixes for common issues
  • 🎯 Multiple Conflict Types:
    • Duplicate package versions
    • Peer dependency mismatches
    • Node.js engine conflicts
    • Deprecated packages
    • Circular dependencies

Usage

Automatic Scanning

The extension automatically scans your project when:

  • You open a workspace containing a package.json
  • You modify package.json or lock files
  • You manually trigger a scan

Manual Scanning

  1. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
  2. Run: Node Dependency Analyzer: Scan Project for Dependency Conflicts

View Conflicts

  • Problems Panel: View all conflicts in the VS Code Problems panel
  • Tree View: Open the "Dependency Conflicts" view in the Explorer sidebar
  • Status Bar: Check the status bar for a quick summary

Configuration

Configure the extension in your VS Code settings:

{
  "nodeDependencyAnalyzer.autoScan": true,
  "nodeDependencyAnalyzer.checkDeprecated": true,
  "nodeDependencyAnalyzer.checkCircular": true,
  "nodeDependencyAnalyzer.ignorePackages": ["some-package"]
}

Settings

  • autoScan - Automatically scan when files change (default: true)
  • checkDeprecated - Check for deprecated packages (default: true)
  • checkCircular - Check for circular dependencies (default: true)
  • ignorePackages - Array of package names to ignore

Requirements

  • VS Code 1.85.0 or higher
  • Node.js 18.0.0 or higher

Supported Package Managers

  • npm (package-lock.json)
  • Yarn (yarn.lock)
  • pnpm (pnpm-lock.yaml)

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft