
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Library for USB Video Class (UVC) devices. Used to write software for webcams, camcorders, etcetera.
node-uvc
)Node.js library for USB Video Class (UVC) devices. Used to write software for webcams, camcorders, etcetera.
UVC-compliant devices include webcams, digital camcorders, transcoders, analog video converters and still-image cameras.
npm install --save uvc
Functional:
Technical:
@ffi-libraries/libuvc-v0.0.6
.libuvc
cross-platform C library.class
implementation.
async
/await
class methods..initialize()
/.uninitialize()
methods.Requires Node.js (node
and npm
commands). Published on npm as uvc
.
npm install --save uvc
See ./examples/
for ready-to-run code.
const { Context, Device, DeviceHandle, LibUvc } = require("uvc");
const libuvc = new LibUvc();
await libuvc.initialize();
const context = new Context(libuvc);
await context.initialize();
const device = await context.findDevice();
await device.initialize();
const deviceHandle = await device.open();
await deviceHandle.initialize();
// NOTE: use the UVC device here, for example using the Controls and FrameStreamer classes.
await deviceHandle.uninitialize();
await device.uninitialize();
await context.uninitialize();
await libuvc.uninitialize();
node-uvc
repository.# Make sure git-flow is initialized.
git flow init -d
npm run --silent test
uvcc
for a command line interface (CLI).@ffi-libraries/libuvc-v0.0.6
Node.js wrapper for libuvc
.v4l-utils
for video4linux (Wikipedia), which includes v4l2-ctl
.node-uvc
Copyright © 2020, 2021 Joel Purra. Released under GNU Lesser General Public License version 3.0 (LGPL-3.0). Your donations are appreciated!
FAQs
Library for USB Video Class (UVC) devices. Used to write software for webcams, camcorders, etcetera.
We found that uvc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.