Exokit ( https://webmr.io ) can solve your problem.

This project enables developers to build XR experiences using the same code that runs on the web. Exokit engine is written on top of Node and emulates a web browser, providing native hooks for WebGL, WebXR, WebAudio, and other APIs used in immersive experiences.

We recently released a Magic Leap API which has led to experiments on the Magic Leap via Exokit like shared meshing between the Magic Leap One and HTC Vive.

Feel free to reach out on Discord or Slack to help get set up with the Magic Leap One.