Network and Filesystem implementation

How does Node-RED implement sending requests over the network like HTTP or HTTPS. And how does it implement the reading and writing to files in the filesystem? I'm using an instrumentation tool at runtime and I would like to log when nodes access the network and file system. For this I need to know the name of the functions that allow these actions and where it is implemented in Node-RED. Anyone that can help me?

Node-RED is a Node.JS app and so uses the Node.JS core libraries along with some helper libraries like fs-extra. You can see what extra libraries it uses (not the Node.js core ones) by looking at its package.json file.