Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>NPM Deps CheckerNew to Visual Studio Code? Get it now.
NPM Deps Checker

NPM Deps Checker

firus

|
1 install
| (0) | Free
Checks installed npm package versions against package.json and notifies about mismatches
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

npm-deps-checker

A VS Code extension that checks installed npm package versions against package.json declarations and notifies you about mismatches.

Features

  • Automatic detection — watches all package.json files in your workspace
  • Version check — compares installed versions vs declared ranges (exact, caret ^, tilde ~, >=, <=, ranges)
  • Notifications — warns when dependencies are outdated or missing, with quick links to the file
  • In-editor diagnostics — highlights mismatched lines directly in package.json with quick-fix code actions
  • Multi-manager — supports npm, yarn, and pnpm (detected via packageManager or lock files)
  • Git-aware — re-checks automatically when you switch branches

Commands

Command Title Description
extension.checkNpmDeps NPM Deps: Check all dependencies Run a full check of all package.json files
extension.installNpmDeps NPM Deps: Install dependencies Run install in the directory of a package.json
extension.openDiagnosticFile NPM Deps: Open diagnostic file Open the problematic file from a notification

Requirements

  • VS Code 1.85.0 or higher
  • Node.js

Extension Settings

This extension does not add any settings yet.

Known Issues

  • Only supports the root node_modules next to each package.json (hoisted layouts in monorepos)
  • Does not check peerDependencies

Release Notes

0.0.1

Initial release:

  • Basic dependency checking
  • Diagnostics and code actions for package.json
  • Package manager auto-detection
  • Git branch switch re-check
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft