mirror of
https://gitee.com/bimuziyan/ccc-obfuscated-code.git
synced 2026-05-08 03:55:53 +08:00
360 B
360 B
geohash
// usage
chance.geohash()
chance.geohash({ length: 5 })
Generate a random geohash. More details on what a geohash is.
chance.geohash()
=> 'h9xhn7y'
By default, includes 7 characters of accuracy. Can override with the length option.
chance.geohash({ length: 5 })
=> 'dr0kr'