command-exists
node module to check if a command-line command exists
installation
npm install command-exists
usage
async
var commandExists = ; ;
promise
var commandExists = ; // invoked without a callback, it returns a promise;
sync
var commandExistsSync = sync;// returns true/false; doesn't throwif // proceed else // ...
changelog
v1.2.7
Removes unnecessary printed output on windows.
v1.2.6
Small bugfixes.
v1.2.5
Fix windows bug introduced in 1.2.4.
v1.2.4
Fix potential security issue.
v1.2.0
Add support for promises
v1.1.0
Add synchronous version
v1.0.2
Support for windows