Here is the code for the library: https://microstudio.dev/i/Loginus/quickengineinjs/
The nicest thing is that you can combine two languages together .
I translated the code using ChatGPT. GPT translated most of it and added comments. I corrected the errors that arose because I translated the code in fragments (the entire code did not fit in the free version of ChatGPT).