JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 160727
  • Score
    100M100P100Q148484F
  • License MIT

Get the path to an app (OS X)

Package Exports

  • app-path

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 (app-path) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

app-path Build Status

Get the path to an app (OS X)

Install

$ npm install --save app-path

Usage

const appPath = require('app-path');

appPath('Safari').then(path => {
    console.log(path);
    //=> '/Applications/Safari.app'
});

appPath('com.apple.Safari').then(path => {
    console.log(path);
    //=> '/Applications/Safari.app'
});

License

MIT © Sindre Sorhus