title: Determine project root from a running node.js application
body: <p>Is there a different way, other than <code>process.cwd()</code>, to get the pathname of the current project's root-directory. Does Node implement something like ruby's property, <code>Rails.root</code>,. I'm looking for something that is constant, and reliable.</p>