1.0.0 • Published 7 years ago
createpassword v1.0.0
Install
$ npm install --save createpassword
Usage
Default settings (easy 10 letters)
createPassword() // -> hjuikolpaq
WCustom length not easy
createPassword(12, false) // -> 87Ik98uREG1
Characters should match a pattern
createPassword(12, false, /\d/) // -> 435678987671
Customize the password prefix
createPassword(12, false, /\d/, 'pass-') // -> pass-6754329
1.0.0
7 years ago