Might be worthwhile to use /dev/gpiomem (and fallback if not available) which would allow rootless use of the library. See https://github.com/n8henrie/node-rcswitch-gpiomem for another library that does this, and http://wiringpi.com/wiringpi-update-to-2-29/.