Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Confide | 1,216 | 535 | 13 | 2 years ago | 49 | July 09, 2015 | 42 | PHP | ||
Confide is a authentication solution for Laravel 4 | ||||||||||
Navajo | 846 | 52 | 4 years ago | 1 | March 24, 2015 | mit | Objective-C | |||
Password Validator & Strength Evaluator | ||||||||||
Yubico Pam | 606 | a year ago | 1 | February 27, 2018 | 52 | bsd-2-clause | C | |||
Yubico Pluggable Authentication Module (PAM) | ||||||||||
Topasscodeviewcontroller | 377 | 3 | a year ago | 2 | January 26, 2018 | 19 | mit | Objective-C | ||
A modal passcode input and validation view controller for iOS | ||||||||||
Pwned Validator | 369 | 7 | 1 | 21 days ago | 10 | February 26, 2022 | 2 | mit | PHP | |
Super simple Laravel Validator for checking password via the Pwned Passwords service of Have I Been Pwned | ||||||||||
Pwned | 353 | 7 | 6 | 6 months ago | 11 | February 23, 2022 | 2 | mit | Ruby | |
😱 An easy, Ruby way to use the Pwned Passwords API. | ||||||||||
Password Validator | 243 | 137 | 84 | 10 months ago | 29 | May 15, 2022 | 6 | mit | JavaScript | |
Validates password according to flexible and intuitive specification | ||||||||||
Laravel Nist Password Rules | 195 | 6 | 5 | a month ago | 15 | May 27, 2021 | 8 | lgpl-3.0 | PHP | |
🔒 Laravel validation rules that follow the password related recommendations found in NIST Special Publication 800-63B section 5. | ||||||||||
Genericpasswordrow | 179 | 2 | 2 years ago | 6 | October 02, 2018 | 3 | mit | Swift | ||
A row for Eureka to implement password validations. | ||||||||||
Validation Composite | 172 | 3 | a month ago | 8 | February 24, 2023 | other | PHP | |||
Allows uniting of several validation rules into single one for easy re-usage |
Creates a Joi object that validates password complexity.
npm install joi-password-complexity
const passwordComplexity = require("joi-password-complexity");
passwordComplexity().validate("aPassword123!");
When no options are specified, the following are used:
{
min: 8,
max: 26,
lowerCase: 1,
upperCase: 1,
numeric: 1,
symbol: 1,
requirementCount: 4,
}
const passwordComplexity = require("joi-password-complexity");
const complexityOptions = {
min: 10,
max: 30,
lowerCase: 1,
upperCase: 1,
numeric: 1,
symbol: 1,
requirementCount: 2,
};
passwordComplexity(complexityOptions).validate("aPassword123!");
const label = "Password"
const passwordComplexity = require("joi-password-complexity");
passwordComplexity(undefined, label).validate("aPassword123!");
passwordComplexity(complexityOptions, label).validate("aPassword123!");
The resulting error message: 'Password should be at least 8 characters long'
MIT