node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


Capture frames from your webcam.


Capture frames from you webcam.

This was part of a little weekend hack, so it only works for OS X. Please send PRs for your platform or webcam setup.

Cheers, @zii

var capture = require('webcam-capture');
var spawn = capture({ stdio: [null, process.stdout, null] });
// shortcut to write to a file
// var spawn = capture({ out: 'me.jpg' });