@arcsine/win-info (npm): Get metadata about a program window (title, id, bounds, screens, owner, etc). Works on macOS, X11-based Desktops (Linux, BSD), Windows.
Keywords: macos|linux|x11|windows|app|application|window|win|process|focused|current|title|name|id|pid|screenshot|capture|metadata|bounds|memory|usage|bundleid