is-camera-on-linux
Check if the webcam is in use on linux
Last updated 3 years ago by stevelacy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install is-camera-on-linux 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.0                                ...           latest (3 years ago)

1 Versions

  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |