npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

on-change-network

0.0.2

@dominictarr

npmHomeRepoSnykSocket
Downloads:7
$ npm install on-change-network
DailyWeeklyMonthlyYearly

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