0.3.1 • Published 2 years 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-strengthIt 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 true0.3.1
2 years ago
0.3.0
2 years ago
0.2.6
2 years ago
0.2.5
2 years ago
0.2.4
2 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.13
6 years ago
0.1.14
6 years ago
0.1.12
7 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.8
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago