(pseudo)random password generator
Installation
browser
node
$ npm install rpg
Usage
// > '=TM;:XUv78M[' // > '&[(OF~Kk,-8TNF0H' // > '1G7elTEr6kU5dWBP' // > 'dgomcPCg0RJsYWrx'
API
rpg([options])
options.length
Type: Number
Default: 12
length of the generated password
options.set
Type: String
Default: ludp
character set of password generation combination of l(lower case), u(upper case), d(digit), p(punctuation)
options.exclude
Type: String
Default: ``
characters to be excluded from generation
License
MIT