firebase-admin npmjs code example Example: firebase admin node js npm install firebase-admin --save ... var admin = require('firebase-admin');