0.1.0 • Published 7 years ago

is-camera-on-linux v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

is-camera-on-linux

Build Status NPM version

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