mysql5 password() hash npm module
Mysql PASSWORD() hashing npm module
npm install mysql5hash --save
var mysql5hash = require('mysql5hash')
var hashPass = mysql5hash("hash password")
console.log(hashPass);
// output => *343E9D0203CB337490174D53651E63C839334AC7