The node.js package is outdated on the apt repo as compared to the GitHub repo.
I'm still fixing some issues in building. I have 17.2.0 for ios 13 if you want to test it.
(Install libnode102 first then nodejs) https://cdn.discordapp.com/attachments/916743558910853150/916743713974276156/libnode102_17.2.0_iphoneos-arm.deb https://cdn.discordapp.com/attachments/916743558910853150/916743715643605003/nodejs_17.2.0_iphoneos-arm.deb https://cdn.discordapp.com/attachments/916743558910853150/916743713173147698/libnode-dev_17.2.0_iphoneos-arm.deb
It works great from what I have tested. I assume that WebAssembly does not work.
Upon testing, yes it doesn't work currently. I'll also have to look into that. I don't have an ETA for that though.