Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bukinoshita/wer
- Owner: bukinoshita
- License: mit
- Created: 2017-04-23T15:36:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T00:43:08.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T16:07:44.671Z (about 1 month ago)
- Topics: generator, ip, location, nodejs, wer, where
- Language: JavaScript
- Homepage:
- Size: 951 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: readme.md
- License: license
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)