How to use an npm module within a function node?

Also the documentation is worth checking before asking: https://nodered.org/docs/user-guide/writing-functions#loading-additional-modules