Skip to Content
๐ŸŽฒ Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More

geohash

// usage randBox.geohash() randBox.geohash({ length: 5 })

Generate a random geohash. More details on what a geohash isย .

randBox.geohash() => 'h9xhn7y'

By default, includes 7 characters of accuracy. Can override with the length option.

randBox.geohash({ length: 5 }) => 'dr0kr'
Last updated on: