active-win-url (npm): Get metadata about the active window (URL, title, id, bounds, owner, etc). Works on macOS.
Keywords: macos|linux|windows|app|application|window|win|active|focused|current|title|name|id|pid|screenshot|capture|metadata|bounds|memory|usage|bundleid