Generate a random geohash. More details on what a geohash is.
$ npm install --save random-geohash
var randomGeoHash = require('random-geohash');
// API
// - randomGeoHash([options]);
// options
// - length
randomGeoHash();
// => "h9xhn7y"
By default, includes 7
characters of accuracy, can specify otherwise:
randomGeoHash({ length: 5 })
// => "dr0kr"
- random-geojson - Generate a random geojson.
- random-altitude - Generate a random altitude, in meters.
- random-depth - Generate a random depth, in meters. Depths are always negative.
- random-coordinates - Generate a random coordinates, which are latitude and longitude, comma separated.
- random-latitude - Generate a random latitude.
- random-longitude - Generate a random longitude.
- random-country - Return a random country.
- random-lang - Return a random language name.
Pull requests and stars are highly welcome.
For bugs and feature requests, please create an issue.