1.0.3 • Published 2 years ago

lib-pass-gen v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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