UNPKG

password-handler

Version:

Check password strength and generate strong password

21 lines (13 loc) 563 B
### This is a lightweight package that helps to check if password is strong or not and also create new strong password or based on your password #### USAGE: ```js const { checkPasswordStrength, makeStrongPassword } = require("password-handler"); const myPassword = checkPasswordStrength(<your_password>); console.log(myPassword); // Make your password strong const newPassword = makeStrongPassword(<your_password>) console.log(newPassword); // Or generate a new password const password = makeStrongPassword() console.log(password); ```