passwordStrength
Scores a password’s strength heuristically (length + character-class
diversity), purely client-side - a UX strength meter, not a security
guarantee. Returns a 0-100 score, a qualitative label, and suggestions.
Returns: PasswordStrengthResult
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
password | string | required | - | The password to score. |
Usage
const result = nfsfu234FormValidation.passwordStrength(password);Last updated on