bestpassssssss
v1.0.0
Published
Yor best friend pass
Downloads
2
Readme
Password Validator
A simple password validator package for Node.js. Provides functions to validate password strength based on various criteria.
Installation
To install the package, run the following command:
Usage
To use the password validator, you can import the functions you need and call them with the appropriate arguments. Here's an example:
const passwordValidator = require('password-validator');
const options = {
minLength: 8,
maxLength: 20,
requireUppercase: true,
requireLowercase: true,
requireDigit: true,
requireSpecialChar: true,
};
const password = 'MySecurePassword1!';
if (passwordValidator.isValidPassword(password, options)) {
console.log('Password is valid');
} else {
console.log('Password is invalid');
}
#� �B�e�s�t�p�a�s�s�s�s�s�s�s�s�
�
�