Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 766 Bytes

readme.md

File metadata and controls

44 lines (30 loc) · 766 Bytes

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