exiter
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Exiter Travis CI Build Status

Access power options for a computer.

NPM Badge

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.

Package Sidebar

Install

npm i exiter

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

4.41 kB

Total Files

6

Last publish

Collaborators

  • richienb