Importing function from Node.js module

Welcome to forums @dazfitzg.

You cant require or import in function nodes.

Please see a recent post on how to do it Here

EDIT:
Seems you have already tried that :man_facepalming:

I removed the import and tried to add the module in the function node's setup tab.