@evojam/geohasher
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @evojam/geohasher

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.48 kB

Total Files

8

Last publish

Collaborators

  • kantecki
  • kpudlik
  • marcinwadon