Pinging @bghgary, the BabylonNative architect and overlord.
For application level stuff, I think Web assembly / Rust is a much better option. The current plug-ins have to be done this way, but you have a choice.
If you do it with NAPI, you will lose the ability to run in a browser. Even if you don’t plan to publish that way, having to do complete build for every single change is going to make you want to kill yourself.
For a scene I recently worked on, I probably had 500-600 runs over 3 months. To make it worse, about half those was developing pose detection for hand tracking. That meant a lot of headset on, then headset off. No way would I have been able pull that off without a browser.
Honestly, I was considering using wasm port of my application but I’m yet to try it out…seems that now I have two options with what @Drigax mentioned