is-command-exists

1.0.1 • Public • Published

is-command-exists Build Status

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')

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i is-command-exists

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.25 kB

Total Files

7

Last publish

Collaborators

  • jandersonmartins