lock-your-windows

0.0.2 • Public • Published

lock-your-windows

Activate the Windows lock screen (Win+L), or check if Windows is currently locked.

Requirements

Installation

npm install --save lock-your-windows

Usage

var lockYourWindows = require('lock-your-windows');

var isLocked = lockYourWindows.isLocked();
console.log("Windows is currently "+(isLocked ? "locked" : "unlocked"));

console.log("Locking Windows...");
lockYourWindows.lock();

Developing

Recompile the native C++ addon

node-gyp rebuild

Run tests

npm test

/lock-your-windows/

    Package Sidebar

    Install

    npm i lock-your-windows

    Weekly Downloads

    7

    Version

    0.0.2

    License

    Apache-2.0

    Unpacked Size

    116 kB

    Total Files

    10

    Last publish

    Collaborators

    • aldaviva