is-camera-on-cli 检查内置的Mac相机是否打开

is-camera-on-cli 检查内置的Mac相机是否打开

Node.js 命令行实用程序

访问GitHub主页

共36Star

详细介绍

is-camera-on-cli Build Status

Check if the built-in Mac camera is on

Install

$ npm install --global is-camera-on-cli

Requires macOS 10.11 or later.

Usage

$ is-camera-on --help

  Example
    $ is-camera-on
    ✔ Camera is on

  Exits with code 0 if on and 1 if off

Related

License

MIT © Sindre Sorhus