Removing extraneous packages

suggest change

Extraneous packages are installed in node_modules but not listed in package.json. Remove them with:

npm prune

To also drop devDependencies, pass --omit=dev. npm still accepts --production as the older spelling of that flag.

npm prune --omit=dev

npm prune

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents