@iag-garybrown/lock-your-windows
TypeScript icon, indicating that this package has built-in type declarations

1.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

/@iag-garybrown/lock-your-windows/

    Package Sidebar

    Install

    npm i @iag-garybrown/lock-your-windows

    Weekly Downloads

    2

    Version

    1.0.2

    License

    Apache-2.0

    Unpacked Size

    16.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • iag-garybrown-user