electron-is-camera-on

2.0.2 • Public • Published

is-camera-on Build Status

Check if the built-in Mac camera is on

Install

$ npm install is-camera-on

Requires macOS 10.11 or later.

Usage

const isCameraOn = require('is-camera-on');
 
(async () => {
    console.log(await isCameraOn());
    //=> true
})();

Related

License

MIT © Sindre Sorhus

/electron-is-camera-on/

    Package Sidebar

    Install

    npm i electron-is-camera-on

    Weekly Downloads

    3

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    10.5 MB

    Total Files

    6

    Last publish

    Collaborators

    • morajabi