npm package for genarating otp insatllation npm install genrate-otp usage var a = require('genrate-otp'); console.log(a.getOtp(3));