npm check updates 1

npm check updates

> npx npm-check-updates -u

Here is what the above code is Doing:
1. npx is a tool that comes with npm 5.2+ and higher, and it helps to execute packages
2. npm-check-updates is a package that helps to update all the packages in package.json
3. -u is a flag that updates the package.json file with the new versions of the packages

Similar Posts