foreground-window Gets the process id (pid) of the foreground window (i.e. the window that is getting the input) Platforms Only windows is currently supported Installation This Library depends on the installation of node package ffi. See ffi for installation requirements.