🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

onwakeup

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onwakeup

detect when computer awakes from sleep

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

npm npm

onwakeup

trigger callback when computer wakes up from sleep/hibernation

Easy to use

Module usage

const onwakeup = require( './onwakeup.js' )
onwakeup( function ( delta ) {
  console.log( 'Wakeup! Computer was asleep for ' + delta + ' milliseconds' )
} )

About

Why

For who?

How

Alternatives

Test

no tests.. debug with debug.js

Keywords

onwakeup

FAQs

Package last updated on 02 Jul 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