npm commands

npm outdated - old packages
npm update - update old packages
npm update package_name - update a specific package
npm audit - check package vulnerabilities
npm audit fix - fix package vulnerabilities
npm audit fix -f - fix package vulnerabilities, -f stands for force - if some dependencies are locked in package-lock.json file
npm install <module>@^0.0.0 - install specific version of the package
npx npm-check - check packages

npx npm-check

npx npm-check -u - check packages and update

npx npm-check -u