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.
then in the fncion node you call this library with global.get
This and much more is found in the documentation, it is good to take a look
I think they want to include functions from their own .js file, not an existing node.js package, so they need to do what @knolleary says and make their file into a package first.
Which probably isn't worth it for just simple functions