@tushardev01/farm-password 1.0.1 → 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.
- package/README.md +12 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
76
|
+
Returns symbols: ['!','@','#','$','%','^','&','*','(',')']
|
|
77
|
+
```
|
|
84
78
|
|
|
85
79
|
### TypeScript Support
|
|
86
80
|
```bash
|