STR2HEX [js] String to hexadecimal. Install npm install kc-str2hex Use var str2hex = require('kc-str2hex'); var hex = str2hex('Hello'); console.log(hex);