I just published an ArubaOS API library for NodeJS at https://github.com/ravishivt/arubaos-api. It can be installed with npm install arubaos-api. More documentation is available on the project page.
Ping me for any questions/problems.