Genere OTP aleatorio en el nodo 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 });
serhii.nahornyi