otp-generate
v1.0.1
Published
Generate otp service
Downloads
12
Readme
otp-generate
An OTP generator package for node js.
Written in ES5/ES6 for maximum compatibility.
Install
npm install otp-generate
Usage
var otpGenerate = require("otp-generate");
var otp = otpGenerate(6); //digit 4,6,...
console.log(otp);
Full Example
const otpGenerate = require("otp-generate");
const otp = otpGenerate(6); //digit 4,6,...
console.log(otp);
o/p:
156136