node module to check if a command-line command exists