Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 471 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 471 Bytes

is-program-installed

Check if a program is installed.

Donate


Installation

npm i is-program-installed

Usage

const isInstalled = require('is-program-installed')
isInstalled('ls') // => true
isInstalled('Slack.app') // => true
isInstalled('powershell.exe') // => true
isInstalled('valid-linux-app.desktop') // => true
isInstalled('something-that-does-not-exist') // => false

LICENSE