lib-pass-gen
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i lib-pass-gen

Weekly Downloads

5

Version

1.0.3

License

ISC

Unpacked Size

44.1 kB

Total Files

58

Last publish

Collaborators

  • sctinmarius