Skip to content

dynajoe/node-desktop-idle

 
 

Repository files navigation

desktop idle

Build status Build Status Monthly Downloads

Node/Electron module to detect idle desktop users (OSX, Windows and Linux).

Stable | Actively maintained | Pull Requests Welcome

Forked and inspired from node-system-idle-time

Installation

npm install --save desktop-idle
# or yarn
yarn add desktop-idle

Cross-Platform Support

Usage

var desktopIdle = require('desktop-idle');
console.log(desktopIdle.getIdleTime());

Linux Requirements

X server development package and pkg-config are required:

apt install libxss-dev pkg-config

Test

yarn test

License

MIT - Bithavoc<im@bithavoc.io>

About

Node/Electron module to detect idle desktop user (OSX, Windows and Linux)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 39.5%
  • C++ 35.3%
  • JavaScript 19.1%
  • Objective-C++ 6.1%