@tushardev01/farm-password 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -20
  2. package/package.json +1 -2
package/README.md CHANGED
@@ -18,12 +18,12 @@ Generates secure random passwords using lowercase, uppercase, numbers, and symbo
18
18
  ## Installation
19
19
 
20
20
  ```bash
21
- npm install gen-password
21
+ npm install @tushardev01/farm-password
22
22
  ```
23
23
 
24
24
  # Usage (JavaScript / ESM)
25
25
  ```bash
26
- import { genPassword, shuffleMax, genLowerLetters, genUpperLetters, genNumbers, genSymbols } from 'gen-password';
26
+ import { genPassword, shuffleMax, genLowerLetters, genUpperLetters, genNumbers, genSymbols } from '@tushardev01/gen-password';
27
27
 
28
28
  // Generate a password with default character sets
29
29
  const password1 = genPassword(16);
@@ -52,35 +52,29 @@ genpass
52
52
  This generates a password with default settings.
53
53
 
54
54
  ### Functions
55
- genPassword(charLength?: number): string
56
-
57
- Generates a password using default arrays
58
55
 
59
- charLength – optional, default is 25
56
+ ```bash
57
+ genPassword(charLength?: number): string
58
+ Generates a password using default arrays
59
+ charLength – optional, default is 25
60
60
 
61
61
  shuffleMax(charLength?: number, lists: string[][]): string[]
62
-
63
- Randomly picks characters from multiple character arrays
64
-
65
- charLength – optional, default 25
66
-
67
- lists – array of string arrays, e.g., [genLowerLetters(), genNumbers()]
62
+ Randomly picks characters from multiple character arrays
63
+ charLength optional, default 25
64
+ lists – array of string arrays, e.g., [genLowerLetters(), genNumbers()]
68
65
 
69
66
  genLowerLetters(): string[]
70
-
71
- Returns lowercase letters: ['a','b',...,'z']
67
+ Returns lowercase letters: ['a','b',...,'z']
72
68
 
73
69
  genUpperLetters(): string[]
74
-
75
- Returns uppercase letters: ['A','B',...,'Z']
70
+ Returns uppercase letters: ['A','B',...,'Z']
76
71
 
77
72
  genNumbers(): string[]
78
-
79
- Returns numbers: ['0','1',...,'9']
73
+ Returns numbers: ['0','1',...,'9']
80
74
 
81
75
  genSymbols(): string[]
82
-
83
- Returns symbols: ['!','@','#','$','%','^','&','*','(',')']
76
+ Returns symbols: ['!','@','#','$','%','^','&','*','(',')']
77
+ ```
84
78
 
85
79
  ### TypeScript Support
86
80
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tushardev01/farm-password",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "main": "./app.js",
6
6
  "exports": {
@@ -30,4 +30,3 @@
30
30
  "license": "ISC",
31
31
  "description": "Generates passwords and provides handy character arrays."
32
32
  }
33
-