0.0.2 • Published 8 years ago

on-change-network v0.0.2

Weekly downloads
214
License
MIT
Repository
github
Last release
8 years ago

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