Node Desktop Idle Save

Node/Electron module to detect idle desktop user (macOS, Windows, Linux, FreeBSD and OpenBSD)

Project README

desktop idle

Build status Build Status Monthly Downloads

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

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<[email protected]>

Open Source Agenda is not affiliated with "Node Desktop Idle" Project. README Source: bithavoc/node-desktop-idle
Stars
99
Open Issues
15
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating