Exiter
Access power options for a computer.
Install
npm install exiter
Usage
const exiter = ; exiter // Shutdown synchronously exiter // Restart synchronously
API
exiter()
exiter.sync()
exiter.restart()
exiter.restartSync()
Related
- cross-exit - Terminate the execution of a script.