Skip to content

mock-end/random-geohash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published