1.0.2 • Published 8 years ago

running-apps v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

running-apps

Get running .app:s.

$ npm install running-apps

Usage

const getApps = require('running-apps')

getApps()
  .then(apps => console.log(apps))
  .catch(e => console.error(e))

// [
//   {
//     pid: 1234
//     comm: '/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal'
//     app: '/Applications/Utilities/Terminal.app'
//   },
//   ...
// ]

cli

npm install -g running-apps
running-apps
# [
#   {
#     "pid": "1234",
#     "comm": "/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal",
#     "app": "/Applications/Utilities/Terminal.app"
#   },
#   ...
# ]
1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago