cmd-exists-sync
v0.1.0
Published
Node module to check synchronously if a command-line command exists
Downloads
496
Maintainers
Readme
cmd-exists-sync
Node module to check synchronously if a command-line command exists
Install
Requires NodeJS 0.11+ (Reference)
npm install cmd-exists-syncUsage
var cmdExists = require('cmd-exists-sync');
if(cmdExists('ls')) {
// ls all day long...
}