DEV Community

Cover image for πŸš€ Keep Your Dependencies Fresh with Node.js Package Updater for VS Code
Jayant Navrange
Jayant Navrange

Posted on

πŸš€ Keep Your Dependencies Fresh with Node.js Package Updater for VS Code

🧩 Node.js Package Updater – VS Code Extension

A simple and effective Visual Studio Code extension to check and update outdated Node.js (npm) dependencies right inside the editor. Stay up-to-date, avoid breaking changes, and keep your code fresh with just a few clicks!


⚠️ Warning

  • Please make a backup of your package.json and lock file.
  • If anything goes wrong, you’ll be able to restore it.
  • Always double-check dependency versions by hovering β€” it's a handy but simple tool.

✨ Features

  • πŸ“¦ Detect outdated dependencies in your project
  • 🚨 Highlights major version updates
  • πŸ“‹ View installed, wanted, and latest versions
  • πŸ”„ One-click update for individual packages
  • βœ… "Update All" feature with confirmation
  • πŸ”— Open package changelog on npm
  • πŸ†˜ In-app help with version explanation
  • πŸ–ΌοΈ Activity bar icon (light/dark theme support)

πŸ“Έ Screenshots

Image Demo

Options for refresh, update all, help, single update and more


πŸš€ Getting Started

1. Install the extension

Install from the VS Code Marketplace or use this command:

ext install JayantNavrange.nodejs-package-updater
Enter fullscreen mode Exit fullscreen mode

2. Open a Node.js project

Make sure your project has a package.json and run npm install once.

3. Usage - Either from sidebar or using commands

Auto-detection of outdated dependencies (for most cases worked), update one by one or update all at once, ignore update not implemented at this time. There's alot of details for you before updating like:

Installed: Version currently in node_modules
Wanted: Version that satisfies your package.json semver
Latest: Latest available version on npm
⚠️ Major version updates may introduce breaking changes

Also, there are commands you can use in command palette

Why use this?

Don't like terminal stuff? Just few clicks and you are done updating (I like this way more)

Currently in development but works well, there are a few typos and some things you may notice which are twice. I will be updating, adding more and fixing things.

If you are interested, download and start using. Contributions are welcome and feedback appreciated.

Thanks for reading. Follow for more. 😎

Top comments (0)