How to use other js files

quickly:
you add in the section functionGlobalContext ( in your settings.js file located in the folder where you installed node-red) the library as in the image.

image
then in the fncion node you call this library with global.get
image

This and much more is found in the documentation, it is good to take a look

1 Like