Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>npmLensNew to Visual Studio Code? Get it now.
npmLens

npmLens

Pilaton

|
2,819 installs
| (3) | Free
| Sponsor
Dependency update checker for npm, yarn, pnpm. Find outdated packages, update versions easily.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

npmLens

Version Downloads Rating Open VSX Open VSX Downloads License: MIT

Dependency update checker for npm, yarn, pnpm. Find outdated packages, update versions easily — all from a convenient sidebar panel.

npmLens Screenshot

✨ Features

  • Dependency overview — See all your dependencies and devDependencies at a glance
  • Version checking — Instantly check for new versions (supports ^, ~, and exact versions)
  • One-click updates — Click on any version to update the package
  • Prefix preservation — Updates keep your original prefix (^1.0.0 → ^1.2.0, not ^ → nothing)
  • Multi-package queue — Queue multiple package updates simultaneously
  • Deprecated warnings — Get notified when using deprecated packages
  • Package info — View description, license, last updated date
  • Size analysis — See unpacked size of each package
  • Download statistics — View weekly download counts
  • Package manager detection — Automatically detects npm, yarn, pnpm, or bun
  • Theme aware — Adapts seamlessly to your VS Code theme

📥 Installation

From VS Code Marketplace

  1. Open Extensions sidebar in VS Code (Ctrl+Shift+X / Cmd+Shift+X)
  2. Search for npmLens
  3. Click Install

From VSIX

  1. Download the .vsix file from Releases
  2. Run code --install-extension vscode-npm-lens-x.x.x.vsix

🚀 Usage

  1. Open a project with a package.json file
  2. Click the npmLens icon in the Activity Bar (sidebar)
  3. Explore your dependencies!

Updating packages:

  • Click on any colored version number to update that package
  • Green = patch, Yellow = minor, Red = major update
  • The package manager (npm/yarn/pnpm/bun) is detected automatically

🔧 Requirements

  • VS Code >=1.93.0
  • A package.json file in your workspace

📝 Changelog

See CHANGELOG.md for a list of changes.


VSCode Marketplace · Open VSX · GitHub · Issues · Contributing · MIT License

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