https://github.com/apollo917/pwdr
A utility for generating deterministic passwords based on a phrase and key
https://github.com/apollo917/pwdr
commonjs-module esmodule javascript node password pwd pwdr
Last synced: 5 months ago
JSON representation
A utility for generating deterministic passwords based on a phrase and key
- Host: GitHub
- URL: https://github.com/apollo917/pwdr
- Owner: Apollo917
- License: mit
- Created: 2024-10-07T18:28:25.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-09T16:42:07.000Z (8 months ago)
- Last Synced: 2024-12-02T21:14:26.723Z (6 months ago)
- Topics: commonjs-module, esmodule, javascript, node, password, pwd, pwdr
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/pwdr
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔣 Pwdr
A utility for generating deterministic passwords based on a phrase and key
[](https://www.npmjs.com/package/pwdr)
[](https://github.com/Apollo917/pwdr/blob/main/LICENSE)
[](https://bundlephobia.com/result?p=pwdr)
[](https://www.npmjs.com/package/pwdr)## 📦 Installation
```bash
npm i pwdr
```## 🚀 Quickstart
### CommonJS
```javascript
const { generatePwd } = require('pwdr');const pwd = await generatePwd('phrase', 'key');
```### ESM
```javascript
import { generatePwd } from 'pwdr';const pwd = await generatePwd('phrase', 'key');
```### 🔢 Resulting password
- Minimum length: 16
- Maximum length: 64
- Default length: 32## 🔁 Version compatibility check
- phrase: `compatibility_check_phrase`
- key: `compatibility_check_key`
- length: `32`### 🏷️ Versions
- **v <= 1.0.1**
- output: `1e9/wtB["D0NS/oCa/ra9p,v'NHBT4GQ`