https://github.com/aimable01/npm-package
https://github.com/aimable01/npm-package
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/aimable01/npm-package
- Owner: Aimable01
- Created: 2024-02-08T06:13:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-08T07:01:45.000Z (over 2 years ago)
- Last Synced: 2025-03-10T20:48:18.770Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Random Password Generator
The Random Password Generator is a simple and secure tool for generating random passwords.
## Installation
You can install the Random Password Generator package using npm:
```bash
npm install @kwizeraaimable/random_password
```
### Usage
It's like paswordGenerator(length,includeNumbers(boolean),includeSpecialCharacters(boolean))
length specifies how long you want the password to be
If you set the includeNumbers boolean to true, the password will include numbers
If you set the includeSpecialCharacters boolean to true, the password will include special characters
```javascript
const passwordGenerator = require("@kwizeraaimable/random_password");
const password = passwordGenerator(10, true, true);
console.log(password);
//outputs 10 characters including numbers and special characters
```