1.0.0 • Published 1 year ago

duct-generate-password v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

using duct-generate-password

A utility function to generate secure random passwords of a specified length, including uppercase, lowercase, numbers, and special characters.

Demo

https://codeduct.com/duct-generate-password

duct-generate-password setup

npm

npm i duct-generate-password

Add the duct-generate-password package in the component you want to use after installation.

import generatePassword from 'duct-generate-password'

ready to use

const newPass = generatePassword() 
const longPass = generatePassword(20) 

generatePassword function generates and returns a password that is 8 characters long. If you want to create passwords with long characters, it will be sufficient to specify the password length with the function.