Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dominictarr/on-change-network
https://github.com/dominictarr/on-change-network
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dominictarr/on-change-network
- Owner: dominictarr
- License: mit
- Created: 2016-06-18T06:34:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-27T15:47:19.000Z (over 5 years ago)
- Last Synced: 2024-04-25T20:02:31.893Z (10 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 49
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-repos - dominictarr/on-change-network - (JavaScript)
README
# 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
``` js
require('on-change-network')(function () {
console.log('wifi changed')
})
```## License
MIT