Already done a bower install geohash in the project... Just include it and use it... Docs at : https://github.com/davetroy/geohash-js https://libraries.io/bower/geohash