First install libfreenect2 according to https://github.com/OpenKinect/libfreenect2 .
Then run npm install.
Everything should build and link because of the postinstall script (how npm scripts work), but if not call npm run build -s.
The tricky bit is going to be the fact that the original WebAR standard overloads gl.texImage2D to work with VRSeeThroughCamera. In doing so they also do a bunch of funky stuff using non-standard OpenGl extensions in webgl.
Our VRSeeThroughCamera contains an additional method called createImageBitmap that creates an ImageBitmap that can be passed into gl.texImage2D normally. To keep the API otherwise the same, we're (hopefully) transparently monkeypatching gl.texImage2D to also accept a VRSeeThroughCamera and get the underlying ImageBitmap from it.