Assume I install project packages with npm install that looks into package.json for modules to be installed. After a while I see that I don\'t need
npm install
package.json
Remove/Edit the packages that are not needed in package-lock.json (package names will be written under dependencies & devDependencies) and then