Hi,
The CoolProp JavaScript wrapper was very easy to implement on a simple html file with the wrapper as script, which made me think that I would be able to make it work just as easily on a Node.js server. I was wrong, or I'm simply not doing all the required steps.
How would I go about integrating CoolProp on a Node.js/Express server (preferably also in development environment)?
I had assumed a simple import (using the require function) would do it, but when I tested that, I found out that the PropsSI function is undefined.
There are no matches in the JavaScript wrapper for "PropsSI", so I'm assuming it is added with the .wasm file.
I have seen this question pop up only twice (as in: "Is there any example code?"), once on GitHub and once on Google groups. There was no concrete answer given/available, so I'll have to try to make it work myself, but I need some help.
I just need a pointer on what needs to be done in order for it to work, as for right now, I have no clue on where I should start on this.
I'm assuming I need to use the JavaScript wrapper for this (including the .wasm file).
Thank you very much in advance!
Viktor