JSPM

@iag-garybrown/lock-your-windows

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q9818F
  • License Apache-2.0

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

Package Exports

  • @iag-garybrown/lock-your-windows
  • @iag-garybrown/lock-your-windows/src/main/js/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@iag-garybrown/lock-your-windows) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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