node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »



Node module to parse the Griffin PowerMate.

npm install powermate

You may need to run as root on some systems

This only works in linux at the moment due to how it read the device

Valid events are press, longPress, left, downLeft, right, downRight, error

var pm = new PowerMate();
pm.on('press', function() {