I made a simple Java library and now I would like to compile it to WASM and port to javascript. I'm having really hard time figuring out how to do it with TeaVM. I found this thread
https://github.com/konsoletyper/teavm/issues/176
but their approach seems extremely over-engineered. Is there really no simple way to port library functions to JS? Why does everything have to be done with @JSBody. Maybe there is some better tool than TeaVM?