0.3.1 • Published 1 month ago
@rplan/password-strength v0.3.1
Responsible: #A-Team
Password strength
A set of rules to check the strength of a password.
Rules for strong password
- minimum length of 8 characters
- at least one number
How to use it
yarn add @rplan/password-strength
It returns true if the password fulfills the required rules or false if it violates one or more rules.
import checkPasswordStrength from '@rplan/password-strength'
const weakPassword = 'password'
checkPasswordStrength(password) // returns false
const strongPassword = 'SomeStrongPasswordWithNumbers123'
checkPasswordStrength(strongPassword) // returns true
0.3.1
1 month ago
0.3.0
6 months ago
0.2.6
6 months ago
0.2.5
6 months ago
0.2.4
6 months ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.13
4 years ago
0.1.14
4 years ago
0.1.12
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.8
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago