Their is always a need to update the npm packages to latest version and keeping a tab on each version individually becomes difficult.
We have very good npm package available which can check for updates in one go and update the version’s in the package.json file.
npm-check-updates upgrades your package.json dependencies to the latest versions, ignoring specified versions.
Follow the below steps to quickly install the updates
Step 1: Open terminal
Step 2: Enter the command and hit enter key
npm install -g npm-check-updates
Step 3: Now check for updates, it will list all the outdated packages
Step 4: Update all the package versions in package.json file
Step 5: Now install the updated version package
You are done!!