UNPKG

otp-alternate

Version:

Publish the first npm package

23 lines (16 loc) 374 B
import otpGen from "otp-generator"; const otp = (otpLength) => { const gen = otpGen.generate(otpLength, { lowerCaseAlphabets: false, upperCaseAlphabets: false, digits: true, specialChars: false, }); return gen }; const concate = (string1, string2) => { let concate = string1 + string2; return concate }; export default otp export { concate }