cmd-exists

checks if commands exist

npm install cmd-exists
2 downloads in the last week
4 downloads in the last month

cmd-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 }
    });
npm loves you