Is n8n planning to support importing external JavaScript libraries directly in the Code node?

Hi team,

I’m curious if there are any plans for n8n to allow importing external JavaScript libraries directly inside the Code node.

Right now, I understand that the Code node only supports built-in JavaScript features.But in many cases, using external libraries could make transformations much easier without having to build a custom node or call external APIs.

:backhand_index_pointing_right: Is this feature on the roadmap, or is the recommended path still to create a custom node or self-host with additional npm packages installed?

Thanks in advance!

Self-hosting: You can import external libraries into the Code node (controlled by allowlists via environment variables).
n8n Cloud: Does not allow external modules in Code; only crypto (core) and moment (npm) are exposed.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.