nodejs native binding to check for valid Beamhash solutions
sudo apt-get install build-essential libsodium-dev libboost-system-dev
var eb = require('bindings')('beamhashverify.node');
var header = new Buffer(..., 'hex');
var solution = new Buffer(..., 'hex'); //do not include byte size preamble "fd4005"
eb.verify(header, nonce, solution, 0); // default is 2=BeamHashIII, 0=BeamHashI, 1=BeamHashII
//returns boolean
ev.verify(header, nonce, solution);
sudo npm install -g mocha
npm install
mocha