otpgen

1.0.3 • Public • Published

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));
});

Package Sidebar

Install

npm i otpgen

Weekly Downloads

5

Version

1.0.3

License

Apache License 2.0

Unpacked Size

17.7 kB

Total Files

8

Last publish

Collaborators

  • syamdanda