Are there any tools that allow you to generate images on the server side using JavaScript langauge? I'm investigating the possibility of using the same JS code to render images on the client side and on the server side.
See this npm package - it can do anything from capchas to photo resazing on server sidde
https://npmjs.org/package/canvas
For client side... i do not know, but it works super for serverside. The only downside is quite tricky installation - https://github.com/learnboost/node-canvas/wiki