node-is-camera-on: Check if the built-in Mac camera is on

Check if the built-in Mac camera is on

文件列表

Sources
.editorconfig
.gitattributes
.gitignore
.travis.yml
Package.pins
Package.swift
index.js
license
package.json
readme.md
test.js

is-camera-on node-is-camera-on: Check if the built-in Mac camera is on

Check if the built-in Mac camera is on

Install

$ npm install --save is-camera-on

Requires macOS 10.11 or later.

Usage

const isCameraOn = require('is-camera-on');

isCameraOn().then(isOn => {
	console.log(isOn);
	//=> true
});

Related

License

MIT ? Sindre Sorhus

下载地址:

1 2 
下一页