1.0.4 • Published 3 years ago
@koc/generate-password v1.0.4
generatePassword

Install
λ npm install @koc/generate-password --saveUsage
generatePassword({options})
Generate one password with the given options. Returns a string.
const {generatePassword} = require('@koc/generate-password');
//import {generatePassword} from '@koc/generate-password';
const password = generatePassword({
length: 10,
});
// t%0YA!5k#SOptions
| Name | Description | Default Value |
|---|---|---|
| length | Integer, length of password. | 8 |
| allowedSymbols | String, put symbols in password. | !@#$%& |
