title: Node.js get file name of the module from inside the module?
body: <p>How to get the name of the Node.js module from inside the module itself during loading?</p>
  
  <pre><code>//mymodule.js
  console.log(GET_MODULE_FULL_PATH_NAME())
  
  //prog.js
  
  require('/full/path/module')
     OR
  require('./module')
     OR
  require('module.js')
  </code></pre>