Add own functions to node red by using functionGlobalContext

If you search the forum, you will find that there are some solutions to your problem available already.