{"id":20433190,"url":"https://github.com/password-generator/password-check-strength","last_synced_at":"2025-08-22T22:40:46.549Z","repository":{"id":49588733,"uuid":"296433868","full_name":"password-generator/password-check-strength","owner":"password-generator","description":"A simple package to check the password strength","archived":false,"fork":false,"pushed_at":"2021-06-13T08:38:30.000Z","size":23,"stargazers_count":1,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T09:41:57.127Z","etag":null,"topics":["algorithm","hacktoberfest","npm-package","password","password-check","password-strength","typescript"],"latest_commit_sha":null,"homepage":"","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/password-generator.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}},"created_at":"2020-09-17T20:21:04.000Z","updated_at":"2021-02-18T14:13:13.000Z","dependencies_parsed_at":"2022-09-11T04:51:49.450Z","dependency_job_id":null,"html_url":"https://github.com/password-generator/password-check-strength","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/password-generator/password-check-strength","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/password-generator%2Fpassword-check-strength","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/password-generator%2Fpassword-check-strength/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/password-generator%2Fpassword-check-strength/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/password-generator%2Fpassword-check-strength/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/password-generator","download_url":"https://codeload.github.com/password-generator/password-check-strength/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/password-generator%2Fpassword-check-strength/sbom","scorecard":{"id":721545,"data":{"date":"2025-08-11","repo":{"name":"github.com/password-generator/password-check-strength","commit":"d93b9cb419fc2ab54b14c1a5ea83084d61f7c77b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Code-Review","score":3,"reason":"Found 3/9 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/commit.yml:1","Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commit.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/password-generator/password-check-strength/commit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/commit.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/password-generator/password-check-strength/commit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/password-generator/password-check-strength/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/password-generator/password-check-strength/npm-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/password-generator/password-check-strength/npm-publish.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T11:30:51.348Z","repository_id":49588733,"created_at":"2025-08-22T11:30:51.348Z","updated_at":"2025-08-22T11:30:51.348Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271711956,"owners_count":24807702,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["algorithm","hacktoberfest","npm-package","password","password-check","password-strength","typescript"],"created_at":"2024-11-15T08:18:03.859Z","updated_at":"2025-08-22T22:40:46.522Z","avatar_url":"https://github.com/password-generator.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/password-generator/password-check-strength)\n\n[![NPM Version](https://img.shields.io/npm/v/@password-generator/check-strength.svg?style=flat-square)](https://www.npmjs.com/package/@password-generator/check-strength) [![NPM Monthly Downloads](https://img.shields.io/npm/dm/@password-generator/check-strength.svg?style=flat-square)](https://npmjs.org/package/@password-generator/check-strength)\n\n[![License](https://img.shields.io/github/license/password-generator/password-check-strength?style=flat-square)](LICENSE.md) [![Last Commit](https://img.shields.io/github/last-commit/password-generator/password-check-strength?style=flat-square)](https://github.com/password-generator/password-check-strength/commits/) ![Language Most Used](https://img.shields.io/github/languages/top/password-generator/password-check-strength?style=flat-square) [![Implementations](https://img.shields.io/badge/%F0%9F%92%A1-implementations-8C8E93.svg?style=flat-square)](https://github.com/password-generator/password-check-strength/issues) ![Repository Size](https://img.shields.io/github/repo-size/password-generator/password-check-strength?style=flat-square)\n\n[![Forks](https://img.shields.io/github/forks/password-generator/password-check-strength?style=social)](https://github.com/password-generator/password-check-strength/network/members) [![Stars](https://img.shields.io/github/stars/password-generator/password-check-strength?style=social)](https://github.com/password-generator/password-check-strength/stargazers) [![Watches](https://img.shields.io/github/watchers/password-generator/password-check-strength?style=social)](https://github.com/password-generator/password-check-strength/watchers)\n\n\u003ch1 id=\"title\" align=\"center\"\u003eWelcome to password-check-strength 👋\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e🚧 password-check-strength in development... 🚧\u003c/h4\u003e\n\n\u003e A simple package to check the password strength\n\n### 🔖 Table Of Contents\n\n- 📃 [About](#about)\n- 🤔 [How To Use](#how-to-use)\n- 🚀 [Technologies](#technologies)\n- 🌱 [Minimal Requirements](#minimal-requirements)\n- 🎊 [Features](#features)\n  - 🎇 [Finished](#features-finished)\n- 💡 [How To Contribute](#how-to-contribute)\n- 🤗 [Contributors](#contributors)\n- 👤 [Author](#author)\n- 🔏 [License](#license)\n\n---\n\n\u003ch2 id=\"about\"\u003e📃 About\u003c/h2\u003e\n\n#### Password Strength Algorithm\n\n##### Password Length:\n    5 Points: Less than 4 characters\n    10 Points: 5 to 7 characters\n    25 Points: 8 or more\n\n##### Letters:\n    0 Points: No letters\n    10 Points: Letters are all lower case\n    20 Points: Letters are upper case and lower case\n\n##### Numbers:\n    0 Points: No numbers\n    10 Points: 1 number\n    20 Points: 3 or more numbers\n\n##### Characters:\n    0 Points: No characters\n    10 Points: 1 character\n    25 Points: 3 or more characters\n\n##### Bonus:\n    2 Points: Letters and numbers\n    3 Points: Letters, numbers, and characters\n    5 Points: Mixed case letters, numbers, and characters\n\n##### Password Text Range:\n    \u003e= 90: Very Secure\n    \u003e= 80: Secure\n    \u003e= 70: Very Strong\n    \u003e= 60: Strong\n    \u003e= 50: Average\n    \u003e= 25: Weak\n    \u003e= 0: Very Weak\n\n[Back To The Top](#title)\n\n---\n\n\u003ch2 id=\"how-to-use\"\u003e🤔 How To Use\u003c/h2\u003e\n\n```typescript\nimport { checkStrength } from '@password-generator/password-check-strength';\n\nimport { generatePassword, Preferences } from '@password-generator/package';\n\nconst preferences: Preferences = {\n  length: 12,\n  useChars: {\n    pronounceable: false,\n    lowercase: true,\n    uppercase: true,\n    numbers: true,\n    symbols: true,\n  },\n};\n\nconst password = generatePassword(preferences);\n\nconst result = checkStrength(password);\n\nconsole.log(result);\n```\n\n[Back To The Top](#title)\n\n---\n\n\u003ch2 id=\"technologies\"\u003e🚀 Technologies\u003c/h2\u003e\n\n- Typescript\n- NodeJs\n\n[Back To The Top](#title)\n\n---\n\n\u003ch2 id=\"minimal-requirements\"\u003e🌱 Minimal Requirements\u003c/h2\u003e\n\n- NodeJs\n- NPM/Yarn\n\n[Back To The Top](#title)\n\n---\n\n\u003ch2 id=\"features\"\u003e🎊 Features\u003c/h2\u003e\n\n\u003ch4 id=\"features-finished\"\u003e🎇 Finished\u003c/h4\u003e\n\n- [x] Create the algorithm\n- [x] Identify special characters automatically\n\n[Back To The Top](#title)\n\n---\n\n\u003ch2 id=\"how-to-contribute\"\u003e💡 How To Contribute\u003c/h2\u003e\n\n- Make a fork of this repository\n- Clone to you machine and entry on respective paste\n- Create a branch with your resource: `git checkout -b my-feature`\n- Commit your changes: `git commit -m 'feat: My new feature'`\n- Push your branch: `git push origin my-feature`\n- A green button will appear at the beginning of this repository\n- Click to open and fill in the pull request information\n\n\u003cp align=\"center\"\u003e\n\u003ci\u003eContributions, issues and features requests are welcome!\u003c/i\u003e\u003cbr /\u003e\n\u003ci\u003e📮 Submit PRs to help solve issues or add features\u003c/i\u003e\u003cbr /\u003e\n\u003ci\u003e🐛 Find and report issues\u003c/i\u003e\u003cbr /\u003e\n\u003ci\u003e🌟 Star the project\u003c/i\u003e\u003cbr /\u003e\n\u003c/p\u003e\n\n[Back To The Top](#title)\n\n---\n\n\u003ch2 id=\"contributors\"\u003e🤗 Contributors\u003c/h2\u003e\n\n\u003cp\u003e\n\n\u003ca href=\"https://github.com/Mikael-R\"\u003e\u003cimg width=\"60px\" src=\"https://avatars1.githubusercontent.com/u/60241602?v=4\" alt=\"Mikael-R\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/mateushnsoares\"\u003e\u003cimg width=\"60px\" src=\"https://avatars1.githubusercontent.com/u/59037640?v=4\" alt=\"mateushnsoares\"/\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\n[Back To The Top](#title)\n\n---\n\n\u003ch2 id=\"author\"\u003e👤 Author\u003c/h2\u003e\n\n🤓 **password-generator \u003cpassgenerator.org@gmail.com\u003e**\n\n- Github: [@password-generator](https://github.com/password-generator)\n\n[Back To The Top](#title)\n\n---\n\n\u003ch2 id=\"license\"\u003e🔏 License\u003c/h2\u003e\n\nCopyright © 2020 [password-generator \u003cpassgenerator.org@gmail.com\u003e](https://github.com/password-generator)\n\nThis project is licensed by [MIT License](https://api.github.com/licenses/mit).\n\n[Back To The Top](#title)\n\n---\n\n_This README was generated with 💟 by [readme-template-generator](https://github.com/Mikael-R/readme-template-generator)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassword-generator%2Fpassword-check-strength","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpassword-generator%2Fpassword-check-strength","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassword-generator%2Fpassword-check-strength/lists"}