1.0.4 • Published 2 years ago

macos-lockscreen v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

MacOS Lock Screen

Lock your screen in terminal, only supports macOS.

Install

Depends on Node.js, npm and clang

If you don't have clang installed, run

$ xcode-select --install

And install this package globally

$ npm install macos-lockscreen -g

Usage

You can lock the screen by running the following command

$ lockscreen
or
$ lock

You can also use this package in Node.js

const lockScreen = require('macos-lockscreen');

await lockScreen();

After the unlocking is completed, the lockScreen will asynchronously return the result code, 0 means the unlocking is successful

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago