lock-system
v3.0.1
Published
Lock your system
Downloads
241
Maintainers
Readme
lock-system
Lock your system
Shows the login screen the next time you use the computer.
Supports macOS, Linux, and Windows.
Install
npm install lock-system
Usage
import lockSystem from 'lock-system';
lockSystem();
API
lockSystem()
Locks the system.
Throws an error if executing the lock command fails or if the OS is not supported.
Related
- lock-cli - CLI for this module
- alfred-lock - Alfred workflow