Retrieve apps available on your OS.
$ npm install --save os-apps
const osApps = require('os-apps');
osApps.getAll().then(apps => {
// array of apps...
apps.forEach(app => {
console.log(app);
});
})
Returns a Promise
with all paths to all apps.
Type: String
Default: system
Options: user
, system
The use type.
Returns a Promise
with paths to all apps in the given directory.
Type: String
The directory to read
MIT © Vu Tran