0.3.1 • Published 1 year 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 year 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
3 years ago
0.2.0
3 years ago
0.1.13
5 years ago
0.1.14
5 years ago
0.1.12
6 years ago
0.1.7
6 years ago
0.1.6
6 years ago
0.1.8
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago