lib-pass-gen
v1.0.3
Published
helps users to generate strong passwords by length and type of content
Downloads
57
Maintainers
Readme
lib-pass-gen
Description
This is a JavaScript library that can help you to generate a secure password by importing only a function and passing the length of the password and the type of the characters that can be upperCase, lowerCase, number and symbol
.
Examples
import generatePassword from 'lib-pass-gen'
const options = {
maxLength: 10,
isUpperCase: true,
isLowerCase: true,
isNumber: true,
isSymbol: false
}
const strongPassword = generatePassword(options) // sI%1x[8tRL