1.0.1 • Published 6 years ago
is-command-exists
Verify if command exists on linux.
installation
$ npm install is-command-exists
Example
const isCommandExists = require('is-command-exists');
// returns true or false
const exists = await isCommandExists('ls')