1.0.0 • Published 5 years ago
on-change-network-strict v1.0.0
on-change-network-strict
A fork of on-change-network
that "uses strict" JS.
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-strict')(function () {
console.log('wifi changed')
})
License
MIT
1.0.0
5 years ago