desktop-idle-prebuilt

1.1.2 • Public • Published

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>

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i desktop-idle-prebuilt

    Weekly Downloads

    1

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    4.48 MB

    Total Files

    21

    Last publish

    Collaborators

    • joeandaverde