Exposes three methods:
networksetup.active
: get the currently active network servicenetworksetup.ifconfig
: get devices and statuses fromifconfig
networksetup.networkservice
: get all available network services
Run tests:
$ mocha
Exposes three methods:
networksetup.active
: get the currently active network servicenetworksetup.ifconfig
: get devices and statuses from ifconfig
networksetup.networkservice
: get all available network servicesRun tests:
$ mocha