Package Exports
- is-program-installed
- is-program-installed/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-program-installed) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-program-installed
Check if a program is installed.
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