cmd-exists-sync
v0.1.0
Published
Node module to check synchronously if a command-line command exists
Downloads
31
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-sync
Usage
var cmdExists = require('cmd-exists-sync');
if(cmdExists('ls')) {
// ls all day long...
}