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

Comparing version 1.0.0 to 1.0.1

changelog.md

13

index.js

@@ -7,4 +7,2 @@ 'use strict';

});
const chalk = require('chalk');
const figlet = require('figlet');
const inquirer = require('inquirer');

@@ -14,12 +12,2 @@

function displayHeader(ssid, location) {
console.log(
chalk.green(
figlet.textSync('geo-wifi')
)
);
console.log(`SSID: ${ssid}`);
console.log(`Location:`, location);
}
/**

@@ -87,3 +75,2 @@ * Divide SSID by letters and digits or letters or digits

async function geoWifi(ssid, location) {
displayHeader(ssid, location);
// Substring of SSID to validate geographic location

@@ -90,0 +77,0 @@ const {answer} = await askUserQueryFromSsid(ssid);

6

package.json
{
"name": "geo-wifi",
"version": "1.0.0",
"description": "Check if Wi-Fi network is located in a reasonable geographic location.",
"version": "1.0.1",
"description": "Check if Wi-Fi network is located in a reasonable geographic location",
"license": "MIT",

@@ -32,5 +32,3 @@ "repository": "rodrigobdz/geo-wifi",

"@google/maps": "^0.5.5",
"chalk": "^2.4.2",
"dotenv": "^7.0.0",
"figlet": "^1.2.1",
"inquirer": "^6.2.2"

@@ -37,0 +35,0 @@ },

# 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.
> Check if Wi-Fi network is located in a reasonable geographic location
## Install
```
```sh
$ npm install geo-wifi
```
## Usage

@@ -23,3 +21,2 @@

## API

@@ -41,5 +38,8 @@

## Credits
* [generator-lnm](https://github.com/rodrigobdz/generator-lnm) - Awesome node module generator
## License
[MIT](license) © [Rodrigo Bermudez Schettino](https://github.com/rodrigobdz/geo-wifi)
[MIT](license) © [Rodrigo Bermudez Schettino](https://rodrigobdz.github.io)

Sorry, the diff of this file is not supported yet

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