Skip to content

bukinoshita/wer

Repository files navigation

wer Build Status

Get your geolocation information 📍

Install

$ yarn add wer

Usage

const wer = require('wer')

await wer()

/*{
  ip: '<ip>',
  city: '<city>',
  region: '<region>',
  country: '<country>',
  loc: '<loc>',
  hostname: '<hostname>',
  org: '<org>',
  lat: '<lat>',
  long: '<long>'
}*/

API

wer()

Returns a promise

Related

License

MIT © Bu Kinoshita