Working with Geohash in nodejs couldn’t be easier with the geo-hash package.

First you’ll need to install it:

Next, you’ll take either an existing latitude and longitude or an existing geohash as input and you’ll get the other as output.

Here’s what it looks like:
geo-hash-demo

 

 

 

Here’s my youtube video going over how to use it: