Looking at the Node.js documentation for command line options to node
https://nodejs.org/api/cli.html
I see
-r, --require module#
Preload the specified module at startup.
Follows require()'s module resolution rules. module may be either a path to a file, or a node module name.
I am pretty certain that with some Node.js frameworks, this option is suggested, but I cannot figure out why it's used. I can't find any use cases online, although I have a slight suspicion that it may be useful for a library I am writing.
Does anyone know what it's used for?