I\'m not sure if the question is well-posed as english is not my mother tongue. Is it possible to connect lua and javascript together? I did not find anything about that yet
You have a few options for Lua usage on the front-end (this is probably what you're aiming for as you'd like to connect/replace JS with Lua):
There is some interesting WASM stuff in the works, like:
For back-end there are even more options. Most noticeable are probably:
I've listed just a few. There is a lot.