Question:

How to update a dependency using npm?

Answer:

Update package.json and change the version of the dependency which to be updated and run the following command.

C:\Nodejs_WorkSpace>npm update

Keywords:

© 2017 QuizBucket.org