1.2.1 • Published 4 years ago
locz v1.2.1
locz
Get the coordinates of the current location.
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 }
.