0.1.0 • Published 5 years ago
node-active-window v0.1.0
node-active-window
Get active window title in Node.js.
Compatible with Linux, Windows 7+, and OSX;
Usage
const monitor = require('node-active-window');
monitor.getActiveWindow((err, window) => {
if (!err) {
console.log(window); // { app: 'Code', title: 'test.js - node-active-window - Visual Studio Code' }
}
});
Tested on
License
MIT
0.1.0
5 years ago