Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Npm Dependency CopilotNew to Visual Studio Code? Get it now.
Npm Dependency Copilot

Npm Dependency Copilot

Luan Nguyen

|
1,195 installs
| (1) | Free
Help developers add npm package dependency with the same versions across the repo.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Npm Dependency Copilot

This extension makes it easy to add npm dependency packages in a monorepo where it is required all package dependencies have the exact same versions.

Features

The extension works by scanning all package.json files in the workspace folder and storing the versions of all existing dependency packages.

Add package command

  • Open a package.json file in the editor.
  • Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the command palette.
  • Select the Dependency Copilot: Add Package command.
  • Select the package and dependency kind from the quick pick panel.

Add Package command

Reset package cache command

For performance reason, the extension scans the package.json files only once when it is activated. If there are major changes to the content of those files, you can execute the Dependency Copilot: Reset Package Cache to tell the extension to re-scan the files.

Requirements

In order to work correctly, the extension requires that all existing package dependencies have the same versions across the codebase.

Release Notes

0.9.6

  • Minor bug fixes.

0.9.5

  • Minor bug fixes

0.9.4

  • After adding the package, also put cursor at the end of the inserted line correctly.

0.9.3

  • Minor bug fixes

0.9.2

  • Initial release of Dependency Copilot extension.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft