on-change-network

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i on-change-network

Weekly Downloads

53

Version

0.0.2

License

MIT

Last publish

Collaborators

  • dominictarr