Sumex
Sumex for create a simple random of password.
Installation
Use the package manager npm for install Sumex.
npm i --save sumex-generator
Usage
If you want to use a default options let it empty or {}.
const Sumex = require('sumex-generator');
<options/> : object
| -> empty or {} for use a default options (length=30).
| -> bigLetters : boolean (AZERT...)
| -> smallLetters : boolean (azert...)
| -> numbers : boolean (01234...)
| -> symbols : boolean (@#$%^&...)
const examplePassword = new Sumex(<options/>);
console.log(examplePassword.password)
console.log(examplePassword.toArray())
License
ISC