Ok, so I figured, instead of hacking my way into the library (which is kind of difficult due to the source code being in typescript and with the constants or readonly values etc), I download the git repository and implement that Matrix64 you mentioned myself. However, this installs all the other components too. I really just want to be compile the Javascript library. Do you have any quick instructions for that? That would help me a lot.
I followed the instructions on the github page, using npm and gulp commands. But I’m getting:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: 0x55783722c6f1 node::Abort() [gulp]
...
Aborted (core dumped)