1.0.0 • Published 3 years ago
otpassword_gen v1.0.0
#otpassword-gen
'otpassword_gen' Simple One Time Generator.
Index
Install
npm install otpassword_gen --save
Usage
var OtpGen = require('otpassword_gen')
OtpGen.generate(6, {specialChars: false });
generate(length, options)
Arguments
length
- length of password. Optional ifoptions
is optional. default length is 10.options
- optionaldigits
- Default:true
true value includes digits in OTPspecialChars
- Default:true
true value includes special Characters in OTP
License
1.0.0
3 years ago