1.0.0 • Published 2 years ago
@napi-rs/system-shutdown v1.0.0
@napi-rs/system-shutdown
This package provides a cross platform way to shut down, reboot or log out operations.
Supported platforms: Linux
, Windows
and macOS
.
API
export function shutdown(): void
export function forceShutdown(): void
export function reboot(): void
export function forceReboot(): void
export function logout(): void
export function forceLogout(): void
export function sleep(): void
export function hibernate(): void
1.0.0
2 years ago