otp-generator-yube
v1.0.0
Published
A simple and customizable OTP generator.
Downloads
72
Maintainers
Readme
import generateOTP from 'otp-generator';
const otp = generateOTP({ length: 8, digits: true, upperCaseAlphabets: true, lowerCaseAlphabets: false, specialChars: false, });
console.log('Generated OTP:', otp);