Socket
Socket
Sign inDemoInstall

desktop-idle

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

desktop-idle

Node/Electron module to detect idle desktop users(users away from keyboard) in macOS, Windows, Linux, FreeBSD and OpenBSD


Version published
Weekly downloads
34
increased by25.93%
Maintainers
1
Weekly downloads
 
Created
Source

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<im@bithavoc.io>

Keywords

FAQs

Package last updated on 25 Nov 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc