1.0.10 • Published 5 years ago
the-geo v1.0.10
the-geo
Geo location utility
Installation
$ npm install the-geo --save
Usage
'use strict'
const {TheGeo} = require('the-geo')
async function tryExample () {
const geo = new TheGeo()
const {lat, lng} = await geo.detect()
console.log('current geo location', {lat, lng})
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.