{"id":16078161,"url":"https://github.com/apollo917/pwdr","last_synced_at":"2026-02-15T21:03:40.823Z","repository":{"id":260385302,"uuid":"869111107","full_name":"Apollo917/pwdr","owner":"Apollo917","description":"A utility for generating deterministic passwords based on a phrase and key","archived":false,"fork":false,"pushed_at":"2024-10-09T16:42:07.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-02T21:14:26.723Z","etag":null,"topics":["commonjs-module","esmodule","javascript","node","password","pwd","pwdr"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/pwdr","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/Apollo917.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-10-07T18:28:25.000Z","updated_at":"2024-10-09T16:40:45.000Z","dependencies_parsed_at":"2024-10-31T02:42:01.676Z","dependency_job_id":"4103691c-b127-45b6-a0e2-0612ac1d53cc","html_url":"https://github.com/Apollo917/pwdr","commit_stats":null,"previous_names":["apollo917/pwdr"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apollo917%2Fpwdr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apollo917%2Fpwdr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apollo917%2Fpwdr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apollo917%2Fpwdr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Apollo917","download_url":"https://codeload.github.com/Apollo917/pwdr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230309406,"owners_count":18206351,"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":["commonjs-module","esmodule","javascript","node","password","pwd","pwdr"],"created_at":"2024-10-09T10:08:14.990Z","updated_at":"2026-02-15T21:03:40.792Z","avatar_url":"https://github.com/Apollo917.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🔣 Pwdr\n\nA utility for generating deterministic passwords using a phrase and key\n\n[![version](https://img.shields.io/npm/v/pwdr?style=for-the-badge)](https://www.npmjs.com/package/pwdr)\n[![license](https://img.shields.io/npm/l/pwdr?style=for-the-badge)](https://github.com/Apollo917/pwdr/blob/main/LICENSE)\n[![size](https://img.shields.io/bundlephobia/minzip/pwdr?style=for-the-badge)](https://bundlephobia.com/result?p=pwdr)\n[![downloads](https://img.shields.io/npm/dw/pwdr?style=for-the-badge)](https://www.npmjs.com/package/pwdr)\n\n\u003c/div\u003e\n\n## 📦 Installation\n\n```bash\nnpm i pwdr\n```\n\n## 🚀 Quickstart\n\n```javascript\nimport { generatePwd } from 'pwdr';\n\nconst encoder = new TextEncoder();\nconst phrase = encoder.encode('phrase');\nconst key = encoder.encode('key');\n\nconst pwdBuffer = await generatePwd(phrase, key);\n```\n\n```javascript\nimport { generatePwd, erase } from 'pwdr';\n\nconst encoder = new TextEncoder();\nconst decoder = new TextDecoder();\nconst phrase = encoder.encode('phrase');\nconst key = encoder.encode('key');\nconst salt = encoder.encoding('salt');\n\nconst pwdBuffer = await generatePwd(phrase, key, { length: 32, iterations: 1_000_000, salt });\nconst pwd = decoder.decode(pwdBuffer);\n\nerase(phrase, key, salt, pwdBuffer);\n```\n\n### 🔢 Resulting password\n\n- Minimum length: 16\n- Maximum length: 64\n- Default length: 32\n\n## 🔁 Version compatibility check\n\n- phrase: `compatibility_check_phrase`\n- key: `compatibility_check_key`\n- length: `32`\n\n### 🏷️ Versions\n\n- **v1.x.x**\n    - result: `1e9/wtB[\"D0NS/oCa/ra9p,v'NHBT4GQ`\n- **v2.x.x**\n    - result: `Ey,7Lg#4Vp(9Dg^2Nm_3Rm@5Bv!5Zj^8`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapollo917%2Fpwdr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapollo917%2Fpwdr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapollo917%2Fpwdr/lists"}