win-resume
v1.0.2
Published
Resume from sleep on windows
Downloads
3
Readme
win-resume
Resume from sleep on windows
Install
npm i --save win-resume
Example
This example resume after 1 minutes.
"use strict";
const Resume = require("win-resume");
let resume = new Resume({time: -60}); // Specify in seconds or Date object
resume.on("end", () => console.log("end"));
resume.on("error", err => console.log(`error: ${err}`));
resume.start();