Update all the packages in your packages.json file

Twitter Facebook Pinterest Google+ Stumbleupon LinkedIn


The Node Package Manager has made it really easy for developers to make large scale apps using open source software, although it’s easy to let a project get out of hand if you require a lot. It can also be a security risk if you don’t keep them up to date.

Thankfully there is a quick and easy way to check and update everything in your packages.json file

Simply run the following three commands:

npm i -g npm-check-updates
ncu -u
npm install

Now you should be all up to date.


Posted by Adi on July 3, 2018

Twitter Facebook Pinterest Google+ Stumbleupon LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *