In Node.JS document, I found a sentence said
When a file is run directly from Node.js,
require.mainis set to its module. That means that it is possible to determine whether a file has been run directly by testingrequire.main === module.'
I want to ask what is the main here, I can not find definition of this main in source code, can anyone help, thanks!