node-macos-api
v0.1.0
Published
A native module for macOS API
Maintainers
Readme
node-macos-api
Application API
getFrontmostApplication()
Get information about the current frontmost (active) application.
Returns
Returns a Promise that resolves to an object with the following properties:
name(string): Application namebundleId(string): Application bundle identifierbundleURL(string): Application bundle pathprocessId(number): Process IDicon(string): Base64 encoded string of the application icon
