electron-get-location

1.0.1 • Public • Published

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

Support Me

https://patreon.com/morajabi

License

MIT © Sindre Sorhus

Package Sidebar

Install

npm i electron-get-location

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

9.78 MB

Total Files

5

Last publish

Collaborators

  • morajabi