os-apps
Retrieve apps available on your OS.
Install
$ npm install --save os-apps
Usage
const osApps = ; osApps
API
getAll([useType])
Returns a Promise
with all paths to all apps.
useType
Type: String
Default: system
Options: user
, system
The use type.
getAppsInDirectory(dir)
Returns a Promise
with paths to all apps in the given directory.
dir
Type: String
The directory to read
License
MIT © Vu Tran