Max size of JS within an Edge Workflow's Function node?

Is there any limit to how much JavaScript the Function node can support within an Edge Workflow?

I’ve been developing an Edge Workflow that uses a Function node that now has 31,000+ characters and I have more implementation to add. What’s the limit?


The limit for the node is 64K. However, there is a feature I want to make you aware of.

On the Edge, you have access to require within the Function Node. So, you can require NPM modules (that are available. see link below) and you can require files.

You can also extend the Edge Agent entirely: