how to specify latest version in package.json code example Example: update node.js dependencies npm install -g npm-check-updates ncu -u npm update npm install