What solutions are there for managing project dependencies?
Answer
Npm.js documentation: Use clean-up commands that are usually provided by the package manager authors. For instance, npm prune will remove any extraneous package. Another command is npm audit which will scan your repository and report any vulnerable dependencies found.