electron-get-location
v1.0.1
Published
Get user's location in latitude and longitude using accurate APIs
Downloads
14
Maintainers
Readme
electron-get-location
Get user's accurate location in Electron for macOS
Install
$ npm install electron-get-location
Requires macOS 10.11 or later.
Usage
const getLocation = require('electron-get-location')
;(async () => {
console.log(await getLocation())
//=> 2.3455,34,33122
})()
Inspired
Inspired by the one and only Sindre Sorhus. Support him on his Patreon: https://www.patreon.com/sindresorhus
- is-camera-on-cli - CLI for this module
Support Me
https://patreon.com/morajabi
License
MIT © Sindre Sorhus