1.0.1 • Published 8 years ago

random-geohash v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

random-geohash

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

MIT License

build:? coverage:?

Install

$ npm install --save random-geohash 

Usage

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"

Related

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.