If I’m not wrong, BootstrapStudio is developed with Nodewebkit or Electron. If so, you may consider this suggestion that would make the export scripting working cross-platform, with one language only.
Thanks for the suggestion! Bootstrap Studio is indeed developed in Electron, but we can’t execute your scripts in the same process for security reasons. Your code needs to be run in a separate process.
If you wish to write your script in node, you can just add !#/path/to/node at the top of your js file, make it executable, and use it as an export script straight away.