cmd-exists

0.0.0 • Public • Published

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 }
    });

Dependents (0)

Package Sidebar

Install

npm i cmd-exists

Weekly Downloads

1

Version

0.0.0

License

BSD

Last publish

Collaborators

  • icodeforlove