Socket
Socket
Sign inDemoInstall

geo-wifi

Package Overview
Dependencies
35
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
1
decreased by-50%
Maintainers
1
Install size
7.33 MB
Created
Weekly downloads
 

Changelog

Source

[1.0.1] - 2019-04-23

Added

  • Add contribution guidelines, code of conduct, issue and PR templates to comply with recommended community standards. This is visible in the repo's community profile.

Changed

  • Improve readability of license with linebreaks.

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.

Credits

License

MIT © Rodrigo Bermudez Schettino

Keywords

FAQs

Last updated on 23 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