1.0.0 • Published 3 years ago

otpassword_gen v1.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

#otpassword-gen

'otpassword_gen' Simple One Time Generator.

npm version js-standard-style NPM

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 if options is optional. default length is 10.
  • options - optional
    • digits - Default: true true value includes digits in OTP
    • specialChars - Default: true true value includes special Characters in OTP

License

MIT