Saturday 13 May 2017

While working on an Electron app on macOS I wrote a couple useful modules for working on macOS

Three modules, actually:osxsleep: You can register a callback in Node to get notified about a Mac's sleep stateosxreachability: Based on Apple's Reachability example code you can register a callback to get notified whether the Mac is connected to WiFi/LAN or not connected at allosxaudioswitch: Makes it possible to switch the output audio device from NodeAll modules are, with their respective names, available via npm.Maybe someone finds some use for them besides me.

Submitted May 13, 2017 at 10:54PM by FedExFacto

No comments:

Post a Comment