title: How to get the absolute path of my NPM global package?
body: <p>I'm building an NPM package that is supposed to run globally. 
  Inside the NPM package, there's a <code>data</code> folder which contains a file I need to read at runtime.</p>
  
  <p>How can I get the absolute path of my NPM package, so I can read the <code>data</code> folder?<br>
  I'm searching for that on Google with no luck.</p>