Check for outdated packages
npm.commands.outdated([packages,] callback)
This command will check the registry to see if the specified packages are currently outdated.
If the 'packages' parameter is left out, npm will check all packages.
npm-outdated — npm@2.15.12