locz
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

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 }.

/locz/

    Package Sidebar

    Install

    npm i locz

    Weekly Downloads

    0

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    73.8 kB

    Total Files

    20

    Last publish

    Collaborators

    • richienb