title: Is there a programmatic way to know a node.js app is running in Heroku?
body: <p>Is there some variable or function I can call to know if a node.js application is running inside Heroku? Something like:</p>
  
  <pre><code>if (process.heroku)
    console.log("I'm in Heroku!");
  </code></pre>