Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodrigobdz/geo-wifi
📍 Check if a Wi-Fi network is located in a reasonable geographic location
https://github.com/rodrigobdz/geo-wifi
detection detection-library distance-measure generator-lnm google-maps-api npm-package rogue-ap security-tools wifi-hotspot yarn
Last synced: 30 days ago
JSON representation
📍 Check if a Wi-Fi network is located in a reasonable geographic location
- Host: GitHub
- URL: https://github.com/rodrigobdz/geo-wifi
- Owner: rodrigobdz
- License: mit
- Created: 2019-04-13T19:36:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T09:59:22.000Z (over 5 years ago)
- Last Synced: 2024-11-14T01:38:43.733Z (about 2 months ago)
- Topics: detection, detection-library, distance-measure, generator-lnm, google-maps-api, npm-package, rogue-ap, security-tools, wifi-hotspot, yarn
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/geo-wifi
- Size: 13.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- Contributing: contributing.md
- License: license
- Code of conduct: code_of_conduct.md
Awesome Lists containing this project
README
# geo-wifi [![Build Status](https://travis-ci.com/rodrigobdz/geo-wifi.svg?branch=master)](https://travis-ci.com/rodrigobdz/geo-wifi)
> Check if Wi-Fi network is located in a reasonable geographic location
## Install
```sh
$ npm install geo-wifi
```## Usage
```js
const geoWifi = require('geo-wifi');// Returns true if RestaurantXYZ is located near the location specified
geoWifi('RestaurantXYZ Hotspot', {latitude: 0.0, longitude: 0.0});
//=> true
```## API
### geoWifi(ssid, location)
#### ssid
Type: `string`
Service Set Identifier (SSID).
#### location
Type: `Object`
Current location of user specified with latitude and longitude.
## Credits
* [generator-lnm](https://github.com/rodrigobdz/generator-lnm) - Awesome node module generator
## License
[MIT](license) © [Rodrigo Bermudez Schettino](https://rodrigobdz.github.io)