How renderering in nodejs and get video stream

hello , every one , I have a idea , I want to render 3d with node.js , and post the video stream to client. The problem is , there is no canvas , I hava no idea about how to render a frame and transform to video stream .