cmd-exists

v0.0.0
checks if commands exist

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 i cmd-exists

Metadata

  • BSD
  • Whatever
  • Unknown
  • released 4/12/2013

Downloads

Maintainers