npm i md5 var md5 = require("md5"); console.log(md5("message")); //encryption of message
//In CMD npm i md5 //in JS file var md5 = require('md5'); console.log(md5('message'));