Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
geocode-wifi
Advanced tools
Readme
Returns a latitude and a longitude given an array of wifi access points.
npm install geocode-wifi
This module needs network access in order to communicate with Google so it can triangulate the provided access points.
var geocodeWifi = require('geocode-wifi')
var towers = [
{ mac: '0e:1d:41:0c:22:d4', ssid: 'NodeConf', signal: -72 },
{ mac: '01:1c:ef:0c:21:2a', ssid: 'NSA Lobby', signal: -2 },
{ mac: 'e0:53:41:92:00:bb', ssid: 'Microsoft Taco', signal: -89 }
]
geocodeWifi(towers, function (err, location) {
if (err) throw err
console.log(location) // => { lat: 38.0690894, lng: -122.8069356, accuracy: 42 }
})
Geocode-wifi have special support for the node-wifiscanner module. This means you can parse the output of node-wifiscanner directly into geocode-wifi:
var geocodeWifi = require('geocode-wifi')
var wifiScanner = require('node-wifiscanner')
wifiScanner.scan(function (err, towers) {
if (err) throw err
geocodeWifi(towers, function (err, location) {
if (err) throw err
console.log(location) // => { lat: 38.0690894, lng: -122.8069356, accuracy: 42 }
})
})
MIT
FAQs
Geocode wifi access points to a latitute and longitude
The npm package geocode-wifi receives a total of 8 weekly downloads. As such, geocode-wifi popularity was classified as not popular.
We found that geocode-wifi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.