I have two common scenarios where I want to update my npm packages. First, my existing project needs a package update or secondly I've started a new project and since I'm lazy I've copied my package.json file from one project to this project. I've found two different ways to perform this.

  1. Changing the versions to * in my packages.json

  2. Using the npm-check-updates package

Let's examine in more details each way.