update all npm packages in one command code example
Example 1: npm update all
npm update --save
Example 2: update all dependencies with npm
npm i -g npm-check-updates
ncu -u
npm install
npm update --save
npm i -g npm-check-updates
ncu -u
npm install