🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

get-open-apps

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-open-apps

Get a list of the apps the user has open.

1.0.9
latest
Source
npm
Version published
Weekly downloads
20
Maintainers
1
Weekly downloads
 
Created
Source

get-open-apps

This is a node.js package for getting the names and paths of the apps the user is currently running.

const getOpenApps = require('get-open-apps');
let appsOpen = await getOpenApps();
log(appsOpen);

Returns an array like this:

[
  Telegram: "/Applications/Telegram.app",
  Atom: "/Applications/Atom.app",
  Terminal: "/Applications/Utilities/Terminal.app",
  Splice: "/Applications/Splice.app",
  Flux: "/Applications/Flux.app"
]

Doesn't work on Windows!

Tip me!

If you appreciate this project and the work I've done so far please tip me! Any amount is accepted. Thank you :)

Patreon: https://www.patreon.com/qashto
Paypal: https://www.paypal.me/qashto/5

Keywords

pkg

FAQs

Package last updated on 10 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts