cmd-exists
v0.0.0cmd-exists
checks if system can run the command
installation
npm install cmd-exists
usage
var exists = require('cmd-exists');
exists('sass', 'compass', function (results) {
// results = { sass: true, compass: true }
});
or
var exists = require('cmd-exists');
exists(['sass', 'compass'], function (results) {
// results = { sass: true, compass: true }
});