Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bukinoshita/wer

:round_pushpin: Get your geolocation information
https://github.com/bukinoshita/wer

generator ip location nodejs wer where

Last synced: 18 days ago
JSON representation

:round_pushpin: Get your geolocation information

Awesome Lists containing this project

README

        

# wer [![Build Status](https://travis-ci.org/bukinoshita/wer.svg?branch=master)](https://travis-ci.org/bukinoshita/wer)

> Get your geolocation information :round_pushpin:

## Install

```
$ yarn add wer
```

## Usage

```js
const wer = require('wer')

await wer()

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

## API

### wer()

Returns a promise

## Related

- [starbucks-cli](https://github.com/bukinoshita/starbucks-cli) — Starbucks on Command Line
- [has-uber-cli](https://github.com/bukinoshita/has-uber-cli) — Check if Uber is available in your city with CLI

## License

MIT © [Bu Kinoshita](https://bukinoshita.io)