0.1.0 • Published 10 years ago
cmd-exists-sync v0.1.0
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...
}
0.1.0
10 years ago