Resthopper manage diferent rh outputs from three js

Hi,
I have several samples using resthopper where I send inputs to a gh or ghx files. But all my samples return me a mesh to handle it in javascript. Is posible to receive diferent output to manage them in javascript with three library? How can I define them in Grasshopper?
Thanks in advance.

You can use rhino3dm to convert the Rhino mesh into a three.js mesh with mesh.toThreejsJSON().

Yes. Thanks Will. What I didn’t know is that the grasshopper has 3 (i.e) outputs each of one I receive in my js file like “result.values[i].InnerTree”. Now I have to figure out how to draw each output with three.js