npm audit #Check audit information of installed dependencies showing
# vulnerabilities
npm audit --json #Show audit results more detailed with json format
npm audit fix #Audit and tries fixing vulnerabilities in dependencies
npm audit fix --focce #Forces fix of problems found in installed packages
# installing further dependencies if necessary
#Pray for a git repo with package.json and package-lock.json, after...
git restore package-lock.json
git restore package.json
npm install
# "--force" is satan