createpassword
v1.0.0
Published
This will convert a dash, dot, underscore, space and separated string to regularCase: node-js : nodeJs
Downloads
10
Maintainers
Readme
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