otpgen
v1.0.3
Published
generate random number
Downloads
7
Maintainers
Readme
OTPGen
Generate a random number of specified length, very much suitable for OTPs.
#Usage
var OTPGen = require('otpgen');
OTPGen.getOTP(5, function(otp) {
console.log(JSON.stringify(otp));
});