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 thin
Firebase admin SDK has access to that information for you.
const admin = require('firebase-admin'); const projectId = admin.instanceId().app.options.projectId