Module Import For Script Expressions
Posted: Thu Apr 11, 2024 12:35 pm
Hello,
Like many others, we're looking at replacing all of our legacy Script Expressions with new, Node.JS Script Expressions.
I have a question regarding Module Imports.
The placeholder of new Script Expressions has the comment of
Does this apply to only built in modules (path, fs, etc.) or am I able to install other modules via npm to use in my Script Expressions?
A lot of our legacy Script Expressions use database connections, which we'd ideally like to keep, otherwise it makes the task a lot more involved.
Many thanks,
Dan
Like many others, we're looking at replacing all of our legacy Script Expressions with new, Node.JS Script Expressions.
I have a question regarding Module Imports.
The placeholder of new Script Expressions has the comment of
Code: Select all
// Your imports here
A lot of our legacy Script Expressions use database connections, which we'd ideally like to keep, otherwise it makes the task a lot more involved.
Many thanks,
Dan