os-apps

0.2.1 • Public • Published

os-apps

Travis Coveralls branch license

Retrieve apps available on your OS.

Install

$ npm install --save os-apps

Usage

const osApps = require('os-apps');
 
osApps.getAll().then(apps => {
  // array of apps...
  apps.forEach(app => {
    console.log(app);
  });
})

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.1
    0
  • 0.2.0
    0
  • 0.1.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i os-apps

Weekly Downloads

0

Version

0.2.1

License

MIT

Last publish

Collaborators

  • vutran