serving live canvas or other live images with NPM

I’m trying to make a line graph that will follow the value of a value in a game, I can already read memory addresses with node.js (memoryjs) so my only problem is making the graph, I haven’t been able to find a way for node to allow me to serve or otherwise display an image that can update in real time