title: How to get Firebase Project Name or ID from Cloud Function
body: <p>I am using Cloud Functions and want to get the project name from within one of my Javascript server files.  I know that value is stored in the .firebaserc, but I don't think that file is available on the server, right?  I want to do something like this:</p>
  
  <pre><code>const functions = require('firebase-functions');
  const admin = require('firebase-admin');
  
  admin.getProjectName();  // or getProjectID()
  </code></pre>
  
  <p>or</p>
  
  <pre><code>functions.getProjectName(); 
  </code></pre>