BPI-M3 GPIO control with node.js

Is it possible to control banana pi M3 gpio with node.js? I have the BPI-wiringPi library for M3 and can control gpio by writing some c++ code, or using the “gpio” command in terminal. I would like to write some web apps and that’s why I would like to use node and java. I tried blink.js example on git for m1 and m2, but it does not work for m3:

var wpi = require(‘wiring-pi’); wpi.setup(); var pin = 0; wpi.pinMode(0, wpi.OUTPUT); var value = 1; setInterval(function() { wpi.digitalWrite(pin, value); value = +!value; }, 500);

regards Mike