NodemoduleRequire.mainproperty Require.mainThe Module object representing the entry script loaded when the Node.js process launched, or undefined if the entry point of the program is not a CommonJS module. Type #Module | undefined
property Require.mainThe Module object representing the entry script loaded when the Node.js process launched, or undefined if the entry point of the program is not a CommonJS module. Type #Module | undefined