NodeJS's package manager NPM has a handy feature for listing outdated packages and updating selected packages to the latest version. The MailSlurp web app is built with NodeJS and Vue. We use the NPM command to keep our packages up to date. Here is how.

Showing outdated packages

To see the old packages in a NodeJS project navigate to the project directory and run . You will see a list of outdated packages and the latest version published to NPM.

Upgrading a dependency

To upgrade a dependency run :

You will see that the and lockfile are updated to the latest version.