Socket
Socket
Sign inDemoInstall

geo-wifi

Package Overview
Dependencies
5
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    geo-wifi

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


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

[1.0.0] - 2019-04-14

Added

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

Readme

Source

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.

License

MIT © Rodrigo Bermudez Schettino

Keywords

FAQs

Last updated on 13 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc