1.2.1 • Published 4 years ago

locz v1.2.1

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

locz Travis CI Build Status

Get the coordinates of the current location.

NPM Badge

Install

npm install locz

Usage

const locz = require("locz")

await locz()
//=> { latitude: -36.8484437, longitude: 174.7600023 }

API

locz()

Get the coordinates of the current location. Returns a promise that resolves with { latitude: number, longitude: number }.

1.2.1

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago