🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

desktop-idle-prebuilt

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

desktop-idle-prebuilt

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

1.1.2
latest
Source
npm
Version published
Maintainers
1
Created
Source

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>

Keywords

idle

FAQs

Package last updated on 06 Apr 2019

Did you know?

Socket

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.

Install

Related posts