Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

generate random otp in node js

//https://www.npmjs.com/package/otp-generator

npm install otp-generator --save


const otpGenerator = require('otp-generator')
otpGenerator.generate(6, { upperCaseAlphabets: false, specialChars: false });
 
PREVIOUS NEXT
Tagged: #generate #random #otp #node #js
ADD COMMENT
Topic
Name
2+1 =