title: How to get the global module installation folder in Node.js
body: <p>I'm trying to access the location on the disk of the global node modules (from within a node module).</p>
  
  <p>I know I can enter <code>npm root -g</code> on the command line, but this is awfully SLOW.</p>
  
  <p>Does any of you know a way to get this information reliably and in a timely fashion (without requiring users to setup any global Env variables)?</p>