Twitter: @rtweed
Just a small correction - Globals aren't unique to IRIS. There are other databases that use them out there. Search for M or Mumps databases to find out more.
The problem is that the official superserver API is proprietary and unpublished - Dmitry reverse-engineered it which is not advisable for production use (and I doubt if it get's InterSystems' blessing): that's why Chris didn't take that approach and built his own. You should note that Chris's interfaces have been used extensively in production systems without any security issues: there's no reason his approach should be any less secure. It would, however, be good if InterSystems published their superserver API for third-party use: I am sure Chris would then adopt that instead.
See here to discover how standard Global storage (eg IRIS Globals) can be automatically abstracted as JavaScript/JSON objects from within Node.js or Bun.js (without the need for any supporting metadata):
https://github.com/robtweed/glsdb
For broader examples of how to use Global Storage with JavaScript, see:
https://github.com/robtweed/mg-showcase