USB Webcam with NodeJS on Ubuntu BBB

Hi,
I am trying to do some basic image processing on my BBB. I have established that my webcam works on my board, but I am having trouble getting that input in a way that I can use it. I am looking for an Ubuntu BBB-compatible NodeJS library that can capture a stream of frames, (preferably) at a given frame rate, and return them to me in a format that I can get pixel data from. The main constraint on the library is the Ubuntu ARM and return format. Does anyone know of a library that can do this?