electron-is-camera-on
v2.0.2
Published
Check if the built-in Mac camera is on
Downloads
2
Maintainers
Readme
is-camera-on
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
- is-camera-on-cli - CLI for this module
License
MIT © Sindre Sorhus