Is a windows rebuild of: https://github.com/octalmage/active-window
$ npm install win-get-active-window
const getActiveWindow = require("win-get-active-window")
console.log(await getActiveWindow())
/* returns an object:
{
app: string
title: string
}
*/