geo-wifi

1.0.1 • Public • Published

geo-wifi Build Status

Check if Wi-Fi network is located in a reasonable geographic location

Install

$ npm install geo-wifi

Usage

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

License

MIT © Rodrigo Bermudez Schettino

Package Sidebar

Install

npm i geo-wifi

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

6.17 kB

Total Files

5

Last publish

Collaborators

  • rodrigobdz