0.1.0 • Published 7 years ago
is-camera-on-linux v0.1.0
is-camera-on-linux
Checks if the camera is in use on linux
Install
npm i -D is-camera-on-linux
Usage
var isCameraOn = require('is-camera-on-linux');
isCameraOn(function(err, bool) {
// => true/false
});
// Promise notation:
isCameraOn().then((isOn) => {
// => true/false
});
async () => {
const isOn = await isCameraOn();
// => true/false
}
License MIT
0.1.0
7 years ago