firebase admin npm code example
Example 1: install firebase npm
$ npm init
$ npm install --save firebase
Example 2: firebase admin node js
npm install firebase-admin --save
...
var admin = require('firebase-admin');
Example 3: install firebase npm
$ npm init
$ npm install --save firebase