Get metadata of the active (foreground) window:
- window title
- unique id
- bounds
- owner
- URL of the current browser tab (MacOS only)
Supports Windows, MacOS, and Linux (X.Org)
Users on macOS 10.13 or earlier needs to download the Swift runtime support libraries.
active-win node library for reference implementation