HumanPassword
Simple library to generate a password (string + number) easy to remember.
Installation
npm install human-password --save
Example
Basic
var humanPassword = ; ;// => 'fuxeru9070'
With options
Name | Type | Default | Description |
---|---|---|---|
couples | integer | 3 | Couple of consonant + vowel |
digits | integer | 4 | Number of digits, if is 0 number will be hidden |
randomUpper | boolean | false | Random letters uppercase |
numberPosition | string | end | Number position in string, can be "start", "middle", "end" and "random" |
var humanPassword = ; ;// => 'PutIGoKobi7136' // Hide number;// => 'gicominobi' // Number in start position;// => '6539vikohylure'
License
HumanPassword is open-sourced software licensed under the MIT license