https://github.com/rabbit-company/passwordgenerator-js
Password generator implemented in JavaScript (ES6).
https://github.com/rabbit-company/passwordgenerator-js
generator password security strength
Last synced: 11 months ago
JSON representation
Password generator implemented in JavaScript (ES6).
- Host: GitHub
- URL: https://github.com/rabbit-company/passwordgenerator-js
- Owner: Rabbit-Company
- License: mit
- Created: 2022-11-21T19:00:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T15:45:10.000Z (over 1 year ago)
- Last Synced: 2025-07-12T13:43:05.371Z (11 months ago)
- Topics: generator, password, security, strength
- Language: TypeScript
- Homepage: https://passwordgenerator.rabbit-company.com
- Size: 51.8 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# PasswordGenerator-JS
Password generator implemented in JavaScript (ES6).
This library will auto generate random secure passwords.
## Usage
### 1. Download library
```bash
npm i --save @rabbit-company/password-generator
```
### 2. Import library
```js
import PasswordGenerator from "@rabbit-company/password-generator";
```
### 3. Generate Password
```js
/*
Parameters:
1. Length (Number) <20>
2. Uppercase (Bool)
3. Numbers (Bool)
4. Symbols (Bool)
*/
// Generate 20 character long password with Uppercase characters, Numbers and Symbols.
PasswordGenerator.generate();
// Generate 30 character long password with Uppercase characters, Numbers and Symbols.
PasswordGenerator.generate(30);
// Generate 50 character long password with Uppercase characters and Numbers.
PasswordGenerator.generate(50, true, true, false);
```