UNPKG

test-pwd-strength

Version:

[![npm version](https://img.shields.io/npm/v/password-strength-checker.svg)](https://www.npmjs.com/package/password-strength-checker) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

20 lines (15 loc) 746 B
# Password Strength Checker 🔐 [![npm version](https://img.shields.io/npm/v/password-strength-checker.svg)](https://www.npmjs.com/package/password-strength-checker) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) A lightweight utility to validate password strength with customizable rules. Perfect for Node.js backends or frontend frameworks! ## Features ✨ - ✅ Strength ratings (`weak`, `medium`, `strong`) - ✅ Customizable rules (length, symbols, numbers, etc.) - ✅ Detailed feedback messages - ✅ Zero dependencies - ✅ Supports both CommonJS and ES Modules ## Installation 📦 ```bash npm install test-pwd-strength # or yarn add test-pwd-strength