how upgrade npm package code example
Example 1: update npm
npm install -g npm@latest
Example 2: update all dependencies npm
npm update //update all local packages
Example 3: npm update syntax
npm outdated -g --depth=0
Example 4: npm update syntax
npm outdated