random-geohash

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i random-geohash

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • bubkoo