Skip to content
This repository was archived by the owner on Nov 26, 2019. It is now read-only.

evojam/geohasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@evojam/geohasher

npm version Build Status

Installing latest version

Using npm run npm install --save-dev @evojam/geohasher.

For yarn usage yarn add -D @evojam/geohasher.

Installing version of choice

Using npm run npm install --save-dev @evojam/geohasher#VERSION.

For yarn usage yarn add -D @evojam/geohasher#VERSION.

Example: npm install --save-dev @evojam/geohasher#v1.0.0 to install version v1.0.0.

Usage

import { geohasher } from '@evojam/geohasher'

geohasher.decode('9ytetc') // [37.186, -93.257]

geohasher.isEven('9ytetc') // true
geohasher.isOdd('9ytetc') // false

geohasher.isEven('9ytetd') // false
geohasher.isOdd('9ytetd') // true

About

Geohash decoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published