
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Detect the active window/application on Linux (X11) and hopefully more platforms in the future...
Detect the active window/application on Linux (X11) and hopefully more platforms in the future...
Anyone with experience in Windows/OSX development, I'd appreciate some help adding support to this module
$ npm install active-app
const activeApp = require('active-app')
activeApp((err, app) => {
if (err) {
return console.error(err)
}
console.log(app)
})
// { desktopNumber: 0,
// processId: 12685,
// xOffset: 106,
// yOffset: 85,
// width: 1547,
// height: 1715,
// machineName: 'bxps',
// psName: 'gnome-terminal-',
// cmdline: '/usr/lib/gnome-terminal/gnome-terminal-server',
// windowTitle: 'watch node index.js' }
MIT © Ben Evans
FAQs
Detect the active window/application on Linux (X11) and hopefully more platforms in the future...
The npm package active-app receives a total of 1 weekly downloads. As such, active-app popularity was classified as not popular.
We found that active-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.