Word of warning: This is still bit sharp edged module. I advice to stay calm if everything doesn't work.
- Install https://github.com/cheery/dg according to instructions.
- npm -g install node-dg # or directly from this repository.
var dg = require('dg');
var surface = dg.getFullscreen({});
var gl = surface.getContext('webgl');