Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

lock-system

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lock-system

Lock your system

Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
88
76%
Maintainers
1
Weekly downloads
 
Created
Source

lock-system

Lock your system

Shows the login screen the next time you use the computer.

Supports macOS, Linux, and Windows.

Install

$ npm install lock-system

Usage

const lockSystem = require('lock-system');

lockSystem();

API

lockSystem()

Locks the system.

Throws an Error if executing the lock command fails or if the OS is not supported.

  • lock-cli - CLI for this module
  • alfred-lock - Alfred workflow

License

MIT © Sindre Sorhus

Keywords

lock

FAQs

Package last updated on 18 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts