npm.io
0.0.2 • Published 9 years ago

on-change-network

Licence
MIT
Version
0.0.2
Deps
0
Vulns
0
Weekly
0
Stars
49

on-change-network

Call a listener whenever the network interface changes. I.e. detect when the local user has changed to another wifi network.

example

require('on-change-network')(function () {
  console.log('wifi changed')
})

License

MIT