title: How can I get the path of a module I have loaded via require that is *not* mine (i.e. in some node_module)
body: <p>I require a module that was installed via npm. I want to access a .js file subordinate to that module (so I can subclass a Constructor method in it). I can't (well, don't want to) modify the module's code, so don't have a place to extract its __dirname.</p>
  
  <p>I am aware of the following question, but it is about getting the path of a module that one has code control over (hence, __dirname is the solution):
  <a href="https://stackoverflow.com/questions/5215871/in-node-js-how-can-i-tell-the-path-of-this-module">In Node.js how can I tell the path of `this` module?</a></p>
  
  <p>~~~</p>
  
  <p>Even better would be to get the module's loaded module info</p>