is-camera-on

3.1.0 • Public • Published

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

import isCameraOn from 'is-camera-on';

console.log(await isCameraOn());
//=> true

Related

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.1.0
    16
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.1.0
    16
  • 3.0.0
    3
  • 2.0.0
    9
  • 1.0.0
    2

Package Sidebar

Install

npm i is-camera-on

Weekly Downloads

15

Version

3.1.0

License

MIT

Unpacked Size

129 kB

Total Files

5

Last publish

Collaborators

  • sindresorhus