npn firebase code example
Example 1: install firebase npm
$ npm init
$ npm install --save firebase
Example 2: angular install firebase tools
npm install -g firebase-tools
$ npm init
$ npm install --save firebase
npm install -g firebase-tools