Skip to content

AdioleDivine/OTP_gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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
    • alphabets - Default: false true value includes special Characters

License

MIT

About

NPM package (One Time Password Generator)

Resources

Stars

Watchers

Forks

Packages

No packages published