{"id":46638297,"url":"https://github.com/tetherto/pearpass-utils-password-check","last_synced_at":"2026-03-08T02:13:24.654Z","repository":{"id":336414562,"uuid":"1113288622","full_name":"tetherto/pearpass-utils-password-check","owner":"tetherto","description":"PearPass is an open-source, privacy-first password manager with peer-to-peer syncing and end-to-end encryption. This repository contains shared core components used across the PearPass apps.","archived":false,"fork":false,"pushed_at":"2026-02-04T09:07:37.000Z","size":97,"stargazers_count":0,"open_issues_count":1,"forks_count":8,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-04T21:44:32.142Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pass.pears.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tetherto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-09T19:15:38.000Z","updated_at":"2026-02-04T09:07:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tetherto/pearpass-utils-password-check","commit_stats":null,"previous_names":["tetherto/pearpass-utils-password-check"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tetherto/pearpass-utils-password-check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-utils-password-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-utils-password-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-utils-password-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-utils-password-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tetherto","download_url":"https://codeload.github.com/tetherto/pearpass-utils-password-check/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fpearpass-utils-password-check/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30242406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"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":[],"created_at":"2026-03-08T02:13:24.019Z","updated_at":"2026-03-08T02:13:24.619Z","avatar_url":"https://github.com/tetherto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pearpass-utils-password-check\n\nA utility library to check the strength of passwords and passphrases based on configurable rules.\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage Examples](#usage-examples)\n- [Dependencies](#dependencies)\n- [Related Projects](#related-projects)\n\n## Features\n\nThis utility provides functions to check the strength of passwords and passphrases based on configurable rules:\n\n**Password Validation:**\n- Minimum length requirements\n- Uppercase and lowercase character inclusion\n- Number inclusion\n- Special character inclusion\n\n**Passphrase Validation:**\n- Minimum word count\n- Unique words verification\n- Capital letter inclusion\n- Symbol inclusion\n- Number inclusion\n\n## Installation\n\n```bash\nnpm install pearpass-utils-password-check\n```\n\n## Usage Examples\n\n### Checking Password Strength\n```javascript\nimport { checkPasswordStrength } from 'pearpass-utils-password-check';\n\n// With default rules\nconst result = checkPasswordStrength('Test123!');\nconsole.log(result.strengthType); // safe\n\n// With custom rules\nconst customResult = checkPasswordStrength('Test1234', {\n    length: 8,\n    includeSpecialChars: false,\n    lowerCase: true,\n    upperCase: true,\n    numbers: true\n});\nconsole.log(customResult.strengthType); // safe\nconsole.log(customResult.rules); // Detailed rules assessment\n```\n\n### Checking Passphrase Strength\n```javascript\nimport { checkPassphraseStrength } from 'pearpass-utils-password-check';\n\n// With default rules\nconst words = ['Test1!', 'Word2@', 'Example3#', 'Unique', 'Safe', 'Pass', 'Phrase', 'Another4$'];\nconst result = checkPassphraseStrength(words);\nconsole.log(result.strength); // safe\n\n// With custom rules\nconst customResult = checkPassphraseStrength(words, {\n    capitalLetters: true,\n    symbols: true,\n    numbers: true,\n    words: 6\n});\nconsole.log(customResult.strengthType); // safe\nconsole.log(customResult.rules); // Detailed rules assessment\n```\n\n## Dependencies\n\nThis package has no runtime dependencies.\n\n## Depended Submodules\n\nThe following sibling submodules must be present in the workspace (they are not declared as npm dependencies):\n\n- [`tether-dev-docs`](../tether-dev-docs)\n\n## Related Projects\n\n- [pearpass-app-mobile](https://github.com/tetherto/pearpass-app-mobile) - A mobile app for PearPass, a password manager\n- [pearpass-app-desktop](https://github.com/tetherto/pearpass-app-desktop) - A desktop app for PearPass, a password\n- [pearpass-lib-ui-react-native-components](https://github.com/tetherto/pearpass-lib-ui-react-native-components) - A library of React Native UI components for PearPass\n- [pearpass-lib-ui-react-components](https://github.com/tetherto/pearpass-lib-ui-react-components) - A library of React UI components for PearPass\n- [tether-dev-docs](https://github.com/tetherto/tether-dev-docs) - Documentations and guides for developers\n\n## License\n\nThis project is licensed under the Apache License, Version 2.0. See the [LICENSE](./LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftetherto%2Fpearpass-utils-password-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftetherto%2Fpearpass-utils-password-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftetherto%2Fpearpass-utils-password-check/lists"}