How to keep npm dependencies up to date1 min read
If you maintain open source or personal projects, the process of updating and finding new versions for the dependencies used in them could be boring and time consuming.
There are good solutions to avoid the manual process.
Out of the box npm includes a command to check for outdated packages, without installing anything
$ npm outdated
npm-check-updates is a command-line tool that allows you to upgrade your package.json dependencies to the latest versions, regardless of existing version constraints.
Install the package and run
$ npm install -g npm-check-updates $ ncu
Libraries.io is a web application that monitors open source libraries it's useful when you have a project hosted on GitHub, it's free for open source projects and notifies you when there's a new release of a dependency that your project is using.
Enjoyed the article? 😍