Check for outdated packages
npm outdated npx npm-check-updates
Overwrite package file with upgraded versions
npx npm-check-updates --upgrade
Overwrite package file with upgraded versions
npm list --depth=2
Run a security audit
npm audit
npm outdated npx npm-check-updates
npx npm-check-updates --upgrade
npm list --depth=2
npm audit