Watching Your NodeJS Projects's Dependencies The Easy Way

TL; DR:
sudo npm install -g watchdeps
cd myproject && watchdeps -u username

Since NPM made easy the dependency management, we tend to use a lot of third party code. That's a good thing. Keep not repeating yourself.

With great powers comes great responsibility
Source MTV

That said, embedding third party code is not just about npm installing modules.

As developpers, we're responsible of listening to new versions, changes, issues etc. of that code.

Since I couldn't accept spending my lifetime doing the following:

Animation showing the GitHub watch action

I created a simple CLI utility called watchdeps. It just watch every dependencies of a Node project for you by simply running one command.

  sudo npm i -g watchdeps
  cd myproject/
  watchdeps -u nfroidure
  # Done!

That's it! All your dependencies with a GitHub repository associated are now watched and you'll know everything about its evolution. Simple enough?

< Blog