Lockscreen
Lock screen of your pc
Install
$ npm install --save lockscreen
Usage
; // just lock the screen; // callback, good to catch errors - maybe you need the stdout - so the callback also passes this; // custom command for custom OS
Checkout the Wiki if you want to use lockscreen
with ES5
Support
Currently it supports macOS (tested on El Capitan v10.11.5) Create a new issue if your OS is not supported
Contribute
# Clone Repo
$ git clone git@github.com:michaelzoidl/lockscreen.git
# Install dependencies
$ npm install
# Test
$ npm test
# Watch the tests
$ npm test -- -w
License
MIT (c) Michael Zoidl