The module objects required for the first time by this one.
The module.exports object is created by the Module system. Sometimes this is not acceptable; many want their module to be an instance of some class. To do this, assign the desired export object to module.exports.
module.exports
Module
The fully resolved filename of the module.
The identifier for the module. Typically this is the fully resolved filename.
true if the module is running during the Node.js preload phase.
true
Whether or not the module is done loading, or is in the process of loading.
The directory name of the module. This is usually the same as the path.dirname() of the module.id.
path.dirname()
module.id
The search paths for the module.
The module.require() method provides a way to load a module as if require() was called from the original module.
module.require()
require()