Add GeoFire to your project
The Firebase JS SDK is a peer dependency of GeoFire. Run the following command to install both libraries:
$ npm install geofire firebase --save
HTML
Alternatively, you can include GeoFire in your HTML. To do so download a minified or non-minified version of GeoFire from the releases page of this GitHub repository. Then, deploy it to Hosting in your Firebase project.
Bower
If you use Bower, the Firebase dependency will be downloaded automatically:
$ bower install geofire --save