From 1c548954436f8e502632723ea2f4e659feddbb43 Mon Sep 17 00:00:00 2001 From: Harshil Agrawal Date: Thu, 25 Nov 2021 13:49:52 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Add=20information=20about=20externa?= =?UTF-8?q?l=20libraries?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/nodes/nodes-library/core-nodes/Function/README.md | 4 ++++ docs/nodes/nodes-library/core-nodes/FunctionItem/README.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/nodes/nodes-library/core-nodes/Function/README.md b/docs/nodes/nodes-library/core-nodes/Function/README.md index e91162493..0df1b1d41 100644 --- a/docs/nodes/nodes-library/core-nodes/Function/README.md +++ b/docs/nodes/nodes-library/core-nodes/Function/README.md @@ -153,6 +153,10 @@ It is important to know that the static data can not be read and written when te The data there will always be empty and the changes will not persist. Only when a workflow is active and it gets called by a Trigger or Webhook, the static data will be saved. +## External libraries + +You can import and use built-in and external npm modules in the Function node. To learn how to enable external moduels, refer the [Configuration](../../../../getting-started/installation/advanced/configuration.md#use-built-in-and-external-modules-in-function-nodes) guide. + ## Further Reading diff --git a/docs/nodes/nodes-library/core-nodes/FunctionItem/README.md b/docs/nodes/nodes-library/core-nodes/FunctionItem/README.md index ce7175d29..0770d40dd 100644 --- a/docs/nodes/nodes-library/core-nodes/FunctionItem/README.md +++ b/docs/nodes/nodes-library/core-nodes/FunctionItem/README.md @@ -79,3 +79,7 @@ staticData.lastExecution = new Date().getTime(); // Delete data delete staticData.lastExecution; ``` + +## External libraries + +You can import and use built-in and external npm modules in the Function Item node. To learn how to enable external moduels, refer the [Configuration](../../../../getting-started/installation/advanced/configuration.md#use-built-in-and-external-modules-in-function-nodes) guide.