true if the module is running during the Node.js preload
true
since v14.6.0 Please use require.main and module.children instead.
require.main
module.children
v11.14.0
The directory name of the module. This is usually the same as the path.dirname() of the module.id.
true
if the module is running during the Node.js preload