Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>npm Dependencies CheckNew to Visual Studio Code? Get it now.
npm Dependencies Check

npm Dependencies Check

Cezary Bober

|
459 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

npm Dependencies Check

The npm Dependencies Check is a Visual Studio Code extension that automatically monitors the package.json file within your workspace. It notifies you whenever the installed packages in the node_modules folder are out of sync with the dependencies listed in the package.json file. This helps you ensure that your project's dependencies are up to date and accurately reflect the specified versions.

Features

  • Watches the package.json file for changes and updates.
  • Compares the installed packages in the node_modules folder with the dependencies specified in the package.json file.
  • Provides real-time notifications when inconsistencies are detected.
  • Supports multiple workspaces, allowing you to monitor different projects simultaneously.

Installation

  1. Launch Visual Studio Code.
  2. Go to the Extensions view by clicking on the square icon on the sidebar or pressing Ctrl+Shift+X.
  3. Search for "npm Dependencies Check" in the Extensions search bar.
  4. Click on the extension in the search results.
  5. Click the "Install" button to install the extension.
  6. Once the installation is complete, the extension will be activated automatically.

Usage

  1. Open your project in Visual Studio Code.
  2. Ensure that you have a package.json file present in the root of your workspace.
  3. The extension will automatically start monitoring the package.json file and the installed packages in the node_modules folder.
  4. Whenever a discrepancy is detected, a notification will appear in the lower-right corner of the editor.
  5. Click on the notification to resolve the inconsistencies by updating your dependencies accordingly.

Alternatively you can also use command npm Dependencies Check: Check dependencies to manualy invoke dependencies check.

Configuration

The extension provides a few configuration options that you can modify to suit your preferences. To access the extension's settings:

  1. Click on the gear icon in the lower-left corner of the sidebar to open the Settings pane.
  2. Click on the Extensions category.
  3. Locate and click on the npm Dependencies Check extension.

The following configuration options are available:

  • Install command: Specifies command that will be run to sync dependencies in your project.

License

This extension is licensed under the MIT License. Feel free to modify and distribute it as needed.

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