How store JSONata expression inside a global variable and use that for evaluation

I think the only way is to npm install the jsonata library into your project, require it in your settings.js file, and call it from inside your function code.

Andre shows the process (for another lib) at the start of this discussion -- good luck!