{"id":23084078,"url":"https://github.com/anibalalpizar/secure-password-checker","last_synced_at":"2026-02-25T19:03:10.627Z","repository":{"id":266435180,"uuid":"898328266","full_name":"anibalalpizar/secure-password-checker","owner":"anibalalpizar","description":"🔒 Secure Password Checker A robust library for customizable password validation, designed to enhance security and prevent weak or compromised credentials.","archived":false,"fork":false,"pushed_at":"2024-12-05T02:05:07.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T04:35:22.911Z","etag":null,"topics":["npm-package","password","security","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/secure-password-checker","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anibalalpizar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-04T07:44:59.000Z","updated_at":"2024-12-05T02:05:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6b58b10-536a-4d59-be38-8fad3880ef64","html_url":"https://github.com/anibalalpizar/secure-password-checker","commit_stats":null,"previous_names":["anibalalpizar/secure-password-checker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anibalalpizar%2Fsecure-password-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anibalalpizar%2Fsecure-password-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anibalalpizar%2Fsecure-password-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anibalalpizar%2Fsecure-password-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anibalalpizar","download_url":"https://codeload.github.com/anibalalpizar/secure-password-checker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251723025,"owners_count":21633067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["npm-package","password","security","typescript"],"created_at":"2024-12-16T15:48:39.331Z","updated_at":"2025-10-25T20:33:35.151Z","avatar_url":"https://github.com/anibalalpizar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔒 Secure Password Checker\n\nA robust, configurable password validation library to ensure user credential security.\n\n## 📦 Installation\n\n```bash\nnpm install secure-password-checker\n```\n\n## 🚀 Quick Start\n\n```typescript\nimport {\n  validatePassword,\n  CommonPasswordsValidator,\n} from \"secure-password-checker\";\n\nconst password = \"MyStrongPassword123!\";\nconst validationResult = validatePassword(password);\n\nif (validationResult.isValid) {\n  console.log(\"Password is secure.\");\n} else {\n  console.log(\"Password is not secure:\", validationResult.errors);\n}\n```\n\n## 🛡️ Features\n\n- Configurable password validation\n- Length checks\n- Complexity requirements\n- Common password rejection\n- Extensible blocked password list\n\n## 🔧 Customization\n\n### Validation Options\n\n```typescript\nconst options = {\n  minLength: 10,\n  maxLength: 20,\n  requireUpperCase: true,\n  requireLowerCase: true,\n  requireNumbers: true,\n  requireSpecialChars: true,\n  rejectCommonPasswords: true,\n};\n\nconst result = validatePassword(password, options);\n```\n\n### Custom Common Passwords\n\n```typescript\n// Add specific passwords to blocked list\nCommonPasswordsValidator.addCommonPasswords(\"company2024\", \"admin123\");\n\n// Add multiple passwords from an array\nconst blockedPasswords = [\"company2024\", \"test1234\"];\nCommonPasswordsValidator.addCommonPasswordsFromArray(blockedPasswords);\n\n// Get current blocked passwords\nconsole.log(CommonPasswordsValidator.getCommonPasswords());\n\n// Remove passwords from blocked list\nCommonPasswordsValidator.removeCommonPasswords(\"admin123\");\n```\n\n## 📋 Validation Criteria\n\n- Minimum/maximum length\n- Uppercase letter requirement\n- Lowercase letter requirement\n- Number requirement\n- Special character requirement\n- Common password detection\n\n## 📄 License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanibalalpizar%2Fsecure-password-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanibalalpizar%2Fsecure-password-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanibalalpizar%2Fsecure-password-checker/lists"}