1.0.0 • Published 4 years ago
exiter v1.0.0
Exiter
Access power options for a computer.
Install
npm install exiter
Usage
const exiter = require("exiter");
exiter.sync() // Shutdown synchronously
exiter.restartSync() // Restart synchronously
API
exiter()
exiter.sync()
exiter.restart()
exiter.restartSync()
Related
- cross-exit - Terminate the execution of a script.
1.0.0
4 years ago