how to update all node libraries

JavaScript
npm install -g npm-check-updates
Source

Also in JavaScript: