Wifi-triangulate

wifi-triangulate

Finds your current position on planet earth using the wifi access points in your vicinity.

This module requires that the wifi card on your computer is active and that you have access to the internet in order to communicate with Google so that it can triangulate your position.

Get it: npm install --global wifi-triangulate

Sample usage:

1
2
3
4
5
6
var triangulate = require('wifi-triangulate')

triangulate(function (err, location) {
  if (err) throw err
  console.log(location) // => { lat: 38.0690894, lng: -122.8069356, accuracy: 42 } 
})

GIF FTW!:

wifi-triangulate

Suggest a module

Comments