Get the coordinates of the current location.
npm install locz
const locz = require("locz")
await locz()
//=> { latitude: -36.8484437, longitude: 174.7600023 }
Get the coordinates of the current location. Returns a promise that resolves with { latitude: number, longitude: number }
.