absolutehash is a Node.js native module for Absolute proof of work functions. It provides methods for Lyra2REv2
var absolutehash = require('absolutehash');
var buf = Buffer.from('700000005d385ba114d079971b29a9418fd0549e7d68a95c7f168621a314201000000000578586d149fd07b22f3a8a347c516de7052f034d2b76ff68e0d6ecff9b77a45489e3fd511732011df0731000', 'hex');
console.log(absolutehash.SumLyra2REv2(buf));
console.log(absolutehash.SumLyra2RE(buf));
console.log(absolutehash.SumScryptN(buf));