@fgv/ts-random 5.1.0-8

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 (254) hide show
  1. package/config/jest.config.json +13 -0
  2. package/config/rig.json +4 -0
  3. package/config/typedoc.json +7 -0
  4. package/docs/Chars/README.md +152 -0
  5. package/docs/Chars/variables/all.md +9 -0
  6. package/docs/Chars/variables/alphanumeric.md +9 -0
  7. package/docs/Chars/variables/base64.md +9 -0
  8. package/docs/Chars/variables/base64Url.md +9 -0
  9. package/docs/Chars/variables/base64UrlNoPadding.md +9 -0
  10. package/docs/Chars/variables/digits.md +9 -0
  11. package/docs/Chars/variables/hex.md +9 -0
  12. package/docs/Chars/variables/hexDigits.md +9 -0
  13. package/docs/Chars/variables/hexDigitsUpper.md +9 -0
  14. package/docs/Chars/variables/letters.md +9 -0
  15. package/docs/Chars/variables/lowerCase.md +9 -0
  16. package/docs/Chars/variables/printable.md +9 -0
  17. package/docs/Chars/variables/symbols.md +9 -0
  18. package/docs/Chars/variables/upperCase.md +9 -0
  19. package/docs/Chars/variables/whitespace.md +9 -0
  20. package/docs/Generator/README.md +153 -0
  21. package/docs/Generator/classes/PseudoRandomGenerator.clone.md +17 -0
  22. package/docs/Generator/classes/PseudoRandomGenerator.create.md +24 -0
  23. package/docs/Generator/classes/PseudoRandomGenerator.createChild.md +24 -0
  24. package/docs/Generator/classes/PseudoRandomGenerator.ensureRng.md +25 -0
  25. package/docs/Generator/classes/PseudoRandomGenerator.getGlobalRng.md +17 -0
  26. package/docs/Generator/classes/PseudoRandomGenerator.md +258 -0
  27. package/docs/Generator/classes/PseudoRandomGenerator.nextBoolean.md +24 -0
  28. package/docs/Generator/classes/PseudoRandomGenerator.nextFloat.md +17 -0
  29. package/docs/Generator/classes/PseudoRandomGenerator.nextInRange.md +25 -0
  30. package/docs/Generator/classes/PseudoRandomGenerator.nextInt.md +24 -0
  31. package/docs/Generator/classes/PseudoRandomGenerator.nextString.md +25 -0
  32. package/docs/Generator/classes/PseudoRandomGenerator.pickNext.md +24 -0
  33. package/docs/Generator/classes/PseudoRandomGenerator.pickRandom.md +24 -0
  34. package/docs/Generator/classes/PseudoRandomGenerator.pickSequence.md +24 -0
  35. package/docs/Generator/classes/PseudoRandomGenerator.pickSequential.md +24 -0
  36. package/docs/Generator/classes/PseudoRandomGenerator.rng.md +11 -0
  37. package/docs/Generator/classes/PseudoRandomGenerator.setGlobalRng.md +24 -0
  38. package/docs/Generator/classes/SeededRandomSource.clone.md +17 -0
  39. package/docs/Generator/classes/SeededRandomSource.counter.md +11 -0
  40. package/docs/Generator/classes/SeededRandomSource.create.md +24 -0
  41. package/docs/Generator/classes/SeededRandomSource.createChild.md +24 -0
  42. package/docs/Generator/classes/SeededRandomSource.hashSeed.md +24 -0
  43. package/docs/Generator/classes/SeededRandomSource.hashStateAndLabel.md +25 -0
  44. package/docs/Generator/classes/SeededRandomSource.lineage.md +9 -0
  45. package/docs/Generator/classes/SeededRandomSource.md +187 -0
  46. package/docs/Generator/classes/SeededRandomSource.mulberryStep.md +24 -0
  47. package/docs/Generator/classes/SeededRandomSource.next.md +17 -0
  48. package/docs/Generator/classes/SeededRandomSource.seed.md +9 -0
  49. package/docs/Generator/interfaces/INextResult.md +61 -0
  50. package/docs/Generator/interfaces/INextResult.nextState.md +9 -0
  51. package/docs/Generator/interfaces/INextResult.value.md +9 -0
  52. package/docs/Generator/interfaces/IPseudoRandomGeneratorCreateParams.global.md +9 -0
  53. package/docs/Generator/interfaces/IPseudoRandomGeneratorCreateParams.md +78 -0
  54. package/docs/Generator/interfaces/IPseudoRandomGeneratorCreateParams.seed.md +9 -0
  55. package/docs/Generator/interfaces/IPseudoRandomGeneratorCreateParams.step.md +9 -0
  56. package/docs/Generator/interfaces/IRandomSequencePickParams.candidates.md +9 -0
  57. package/docs/Generator/interfaces/IRandomSequencePickParams.count.md +9 -0
  58. package/docs/Generator/interfaces/IRandomSequencePickParams.how.md +9 -0
  59. package/docs/Generator/interfaces/IRandomSequencePickParams.md +79 -0
  60. package/docs/Generator/interfaces/ISeedPair.md +61 -0
  61. package/docs/Generator/interfaces/ISeedPair.seed.md +9 -0
  62. package/docs/Generator/interfaces/ISeedPair.state.md +9 -0
  63. package/docs/Generator/interfaces/ISeededRandomSourceConstructorParams.counter.md +9 -0
  64. package/docs/Generator/interfaces/ISeededRandomSourceConstructorParams.lineage.md +9 -0
  65. package/docs/Generator/interfaces/ISeededRandomSourceConstructorParams.md +112 -0
  66. package/docs/Generator/interfaces/ISeededRandomSourceConstructorParams.seed.md +9 -0
  67. package/docs/Generator/interfaces/ISeededRandomSourceConstructorParams.state.md +9 -0
  68. package/docs/Generator/interfaces/ISeededRandomSourceConstructorParams.step.md +9 -0
  69. package/docs/Generator/interfaces/ISeededRandomSourceCreateParams.md +61 -0
  70. package/docs/Generator/interfaces/ISeededRandomSourceCreateParams.seed.md +9 -0
  71. package/docs/Generator/interfaces/ISeededRandomSourceCreateParams.step.md +9 -0
  72. package/docs/Generator/interfaces/ISequentialPickParams.candidates.md +9 -0
  73. package/docs/Generator/interfaces/ISequentialPickParams.count.md +9 -0
  74. package/docs/Generator/interfaces/ISequentialPickParams.how.md +9 -0
  75. package/docs/Generator/interfaces/ISequentialPickParams.md +79 -0
  76. package/docs/Generator/type-aliases/GeneratorGlobalThis.md +11 -0
  77. package/docs/Generator/type-aliases/RandomStepFunction.md +11 -0
  78. package/docs/Generator/type-aliases/SequencePickParams.md +11 -0
  79. package/docs/GeneratorData/Chars/README.md +152 -0
  80. package/docs/GeneratorData/Chars/variables/all.md +9 -0
  81. package/docs/GeneratorData/Chars/variables/alphanumeric.md +9 -0
  82. package/docs/GeneratorData/Chars/variables/base64.md +9 -0
  83. package/docs/GeneratorData/Chars/variables/base64Url.md +9 -0
  84. package/docs/GeneratorData/Chars/variables/base64UrlNoPadding.md +9 -0
  85. package/docs/GeneratorData/Chars/variables/digits.md +9 -0
  86. package/docs/GeneratorData/Chars/variables/hex.md +9 -0
  87. package/docs/GeneratorData/Chars/variables/hexDigits.md +9 -0
  88. package/docs/GeneratorData/Chars/variables/hexDigitsUpper.md +9 -0
  89. package/docs/GeneratorData/Chars/variables/letters.md +9 -0
  90. package/docs/GeneratorData/Chars/variables/lowerCase.md +9 -0
  91. package/docs/GeneratorData/Chars/variables/printable.md +9 -0
  92. package/docs/GeneratorData/Chars/variables/symbols.md +9 -0
  93. package/docs/GeneratorData/Chars/variables/upperCase.md +9 -0
  94. package/docs/GeneratorData/Chars/variables/whitespace.md +9 -0
  95. package/docs/GeneratorData/README.md +35 -0
  96. package/docs/GeneratorData/Words/README.md +125 -0
  97. package/docs/GeneratorData/Words/variables/Adjectives.md +7 -0
  98. package/docs/GeneratorData/Words/variables/Animals.md +7 -0
  99. package/docs/GeneratorData/Words/variables/Cities.md +7 -0
  100. package/docs/GeneratorData/Words/variables/Colors.md +7 -0
  101. package/docs/GeneratorData/Words/variables/Countries.md +7 -0
  102. package/docs/GeneratorData/Words/variables/Domains.md +7 -0
  103. package/docs/GeneratorData/Words/variables/FamilyNames.md +9 -0
  104. package/docs/GeneratorData/Words/variables/FirstNames.md +9 -0
  105. package/docs/GeneratorData/Words/variables/FirstNamesFemale.md +9 -0
  106. package/docs/GeneratorData/Words/variables/FirstNamesMale.md +9 -0
  107. package/docs/GeneratorData/Words/variables/Gerunds.md +7 -0
  108. package/docs/GeneratorData/Words/variables/jobs.md +7 -0
  109. package/docs/GeneratorData/variables/Adjectives.md +7 -0
  110. package/docs/GeneratorData/variables/Animals.md +7 -0
  111. package/docs/GeneratorData/variables/Cities.md +7 -0
  112. package/docs/GeneratorData/variables/Colors.md +7 -0
  113. package/docs/GeneratorData/variables/Countries.md +7 -0
  114. package/docs/GeneratorData/variables/Domains.md +7 -0
  115. package/docs/GeneratorData/variables/FamilyNames.md +9 -0
  116. package/docs/GeneratorData/variables/FirstNames.md +9 -0
  117. package/docs/GeneratorData/variables/FirstNamesFemale.md +9 -0
  118. package/docs/GeneratorData/variables/FirstNamesMale.md +9 -0
  119. package/docs/GeneratorData/variables/Gerunds.md +7 -0
  120. package/docs/GeneratorData/variables/all.md +9 -0
  121. package/docs/GeneratorData/variables/alphanumeric.md +9 -0
  122. package/docs/GeneratorData/variables/base64.md +9 -0
  123. package/docs/GeneratorData/variables/base64Url.md +9 -0
  124. package/docs/GeneratorData/variables/base64UrlNoPadding.md +9 -0
  125. package/docs/GeneratorData/variables/digits.md +9 -0
  126. package/docs/GeneratorData/variables/hex.md +9 -0
  127. package/docs/GeneratorData/variables/hexDigits.md +9 -0
  128. package/docs/GeneratorData/variables/hexDigitsUpper.md +9 -0
  129. package/docs/GeneratorData/variables/jobs.md +7 -0
  130. package/docs/GeneratorData/variables/letters.md +9 -0
  131. package/docs/GeneratorData/variables/lowerCase.md +9 -0
  132. package/docs/GeneratorData/variables/printable.md +9 -0
  133. package/docs/GeneratorData/variables/symbols.md +9 -0
  134. package/docs/GeneratorData/variables/upperCase.md +9 -0
  135. package/docs/GeneratorData/variables/whitespace.md +9 -0
  136. package/docs/README.md +35 -0
  137. package/docs/Words/README.md +125 -0
  138. package/docs/Words/variables/Adjectives.md +7 -0
  139. package/docs/Words/variables/Animals.md +7 -0
  140. package/docs/Words/variables/Cities.md +7 -0
  141. package/docs/Words/variables/Colors.md +7 -0
  142. package/docs/Words/variables/Countries.md +7 -0
  143. package/docs/Words/variables/Domains.md +7 -0
  144. package/docs/Words/variables/FamilyNames.md +9 -0
  145. package/docs/Words/variables/FirstNames.md +9 -0
  146. package/docs/Words/variables/FirstNamesFemale.md +9 -0
  147. package/docs/Words/variables/FirstNamesMale.md +9 -0
  148. package/docs/Words/variables/Gerunds.md +7 -0
  149. package/docs/Words/variables/jobs.md +7 -0
  150. package/docs/classes/PseudoRandomGenerator.clone.md +17 -0
  151. package/docs/classes/PseudoRandomGenerator.create.md +24 -0
  152. package/docs/classes/PseudoRandomGenerator.createChild.md +24 -0
  153. package/docs/classes/PseudoRandomGenerator.ensureRng.md +25 -0
  154. package/docs/classes/PseudoRandomGenerator.getGlobalRng.md +17 -0
  155. package/docs/classes/PseudoRandomGenerator.md +258 -0
  156. package/docs/classes/PseudoRandomGenerator.nextBoolean.md +24 -0
  157. package/docs/classes/PseudoRandomGenerator.nextFloat.md +17 -0
  158. package/docs/classes/PseudoRandomGenerator.nextInRange.md +25 -0
  159. package/docs/classes/PseudoRandomGenerator.nextInt.md +24 -0
  160. package/docs/classes/PseudoRandomGenerator.nextString.md +25 -0
  161. package/docs/classes/PseudoRandomGenerator.pickNext.md +24 -0
  162. package/docs/classes/PseudoRandomGenerator.pickRandom.md +24 -0
  163. package/docs/classes/PseudoRandomGenerator.pickSequence.md +24 -0
  164. package/docs/classes/PseudoRandomGenerator.pickSequential.md +24 -0
  165. package/docs/classes/PseudoRandomGenerator.rng.md +11 -0
  166. package/docs/classes/PseudoRandomGenerator.setGlobalRng.md +24 -0
  167. package/docs/classes/SeededRandomSource.clone.md +17 -0
  168. package/docs/classes/SeededRandomSource.counter.md +11 -0
  169. package/docs/classes/SeededRandomSource.create.md +24 -0
  170. package/docs/classes/SeededRandomSource.createChild.md +24 -0
  171. package/docs/classes/SeededRandomSource.hashSeed.md +24 -0
  172. package/docs/classes/SeededRandomSource.hashStateAndLabel.md +25 -0
  173. package/docs/classes/SeededRandomSource.lineage.md +9 -0
  174. package/docs/classes/SeededRandomSource.md +187 -0
  175. package/docs/classes/SeededRandomSource.mulberryStep.md +24 -0
  176. package/docs/classes/SeededRandomSource.next.md +17 -0
  177. package/docs/classes/SeededRandomSource.seed.md +9 -0
  178. package/docs/interfaces/INextResult.md +61 -0
  179. package/docs/interfaces/INextResult.nextState.md +9 -0
  180. package/docs/interfaces/INextResult.value.md +9 -0
  181. package/docs/interfaces/IPseudoRandomGeneratorCreateParams.global.md +9 -0
  182. package/docs/interfaces/IPseudoRandomGeneratorCreateParams.md +78 -0
  183. package/docs/interfaces/IPseudoRandomGeneratorCreateParams.seed.md +9 -0
  184. package/docs/interfaces/IPseudoRandomGeneratorCreateParams.step.md +9 -0
  185. package/docs/interfaces/IRandomSequencePickParams.candidates.md +9 -0
  186. package/docs/interfaces/IRandomSequencePickParams.count.md +9 -0
  187. package/docs/interfaces/IRandomSequencePickParams.how.md +9 -0
  188. package/docs/interfaces/IRandomSequencePickParams.md +79 -0
  189. package/docs/interfaces/ISeedPair.md +61 -0
  190. package/docs/interfaces/ISeedPair.seed.md +9 -0
  191. package/docs/interfaces/ISeedPair.state.md +9 -0
  192. package/docs/interfaces/ISeededRandomSourceConstructorParams.counter.md +9 -0
  193. package/docs/interfaces/ISeededRandomSourceConstructorParams.lineage.md +9 -0
  194. package/docs/interfaces/ISeededRandomSourceConstructorParams.md +112 -0
  195. package/docs/interfaces/ISeededRandomSourceConstructorParams.seed.md +9 -0
  196. package/docs/interfaces/ISeededRandomSourceConstructorParams.state.md +9 -0
  197. package/docs/interfaces/ISeededRandomSourceConstructorParams.step.md +9 -0
  198. package/docs/interfaces/ISeededRandomSourceCreateParams.md +61 -0
  199. package/docs/interfaces/ISeededRandomSourceCreateParams.seed.md +9 -0
  200. package/docs/interfaces/ISeededRandomSourceCreateParams.step.md +9 -0
  201. package/docs/interfaces/ISequentialPickParams.candidates.md +9 -0
  202. package/docs/interfaces/ISequentialPickParams.count.md +9 -0
  203. package/docs/interfaces/ISequentialPickParams.how.md +9 -0
  204. package/docs/interfaces/ISequentialPickParams.md +79 -0
  205. package/docs/type-aliases/GeneratorGlobalThis.md +11 -0
  206. package/docs/type-aliases/RandomStepFunction.md +11 -0
  207. package/docs/type-aliases/SequencePickParams.md +11 -0
  208. package/docs/variables/Adjectives.md +7 -0
  209. package/docs/variables/Animals.md +7 -0
  210. package/docs/variables/Cities.md +7 -0
  211. package/docs/variables/Colors.md +7 -0
  212. package/docs/variables/Countries.md +7 -0
  213. package/docs/variables/Domains.md +7 -0
  214. package/docs/variables/FamilyNames.md +9 -0
  215. package/docs/variables/FirstNames.md +9 -0
  216. package/docs/variables/FirstNamesFemale.md +9 -0
  217. package/docs/variables/FirstNamesMale.md +9 -0
  218. package/docs/variables/Gerunds.md +7 -0
  219. package/docs/variables/all.md +9 -0
  220. package/docs/variables/alphanumeric.md +9 -0
  221. package/docs/variables/base64.md +9 -0
  222. package/docs/variables/base64Url.md +9 -0
  223. package/docs/variables/base64UrlNoPadding.md +9 -0
  224. package/docs/variables/digits.md +9 -0
  225. package/docs/variables/hex.md +9 -0
  226. package/docs/variables/hexDigits.md +9 -0
  227. package/docs/variables/hexDigitsUpper.md +9 -0
  228. package/docs/variables/jobs.md +7 -0
  229. package/docs/variables/letters.md +9 -0
  230. package/docs/variables/lowerCase.md +9 -0
  231. package/docs/variables/printable.md +9 -0
  232. package/docs/variables/symbols.md +9 -0
  233. package/docs/variables/upperCase.md +9 -0
  234. package/docs/variables/whitespace.md +9 -0
  235. package/package.json +49 -0
  236. package/src/generator/generators.ts +273 -0
  237. package/src/generator/index.ts +22 -0
  238. package/src/generator/randomSource.ts +224 -0
  239. package/src/generator-data/charClasses.ts +95 -0
  240. package/src/generator-data/index.ts +22 -0
  241. package/src/generator-data/words/adjectives.ts +247 -0
  242. package/src/generator-data/words/animals.ts +75 -0
  243. package/src/generator-data/words/cities.ts +229 -0
  244. package/src/generator-data/words/colors.ts +56 -0
  245. package/src/generator-data/words/countries.ts +217 -0
  246. package/src/generator-data/words/domains.ts +47 -0
  247. package/src/generator-data/words/gerunds.ts +126 -0
  248. package/src/generator-data/words/index.ts +29 -0
  249. package/src/generator-data/words/jobs.ts +175 -0
  250. package/src/generator-data/words/names.ts +717 -0
  251. package/src/index.ts +7 -0
  252. package/src/test/unit/generators.test.ts +697 -0
  253. package/src/test/unit/randomSource.test.ts +526 -0
  254. package/tsconfig.json +7 -0
@@ -0,0 +1,717 @@
1
+ // Copyright (c) 2026 Erik Fortune
2
+ //
3
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ // of this software and associated documentation files (the "Software"), to deal
5
+ // in the Software without restriction, including without limitation the rights
6
+ // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ // copies of the Software, and to permit persons to whom the Software is
8
+ // furnished to do so, subject to the following conditions:
9
+ //
10
+ // The above copyright notice and this permission notice shall be included in all
11
+ // copies or substantial portions of the Software.
12
+ //
13
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ // SOFTWARE.
20
+
21
+ /**
22
+ * Male first names
23
+ * @public
24
+ */
25
+ export const FirstNamesMale: ReadonlyArray<string> = [
26
+ // American/English
27
+ 'James',
28
+ 'John',
29
+ 'Robert',
30
+ 'Michael',
31
+ 'William',
32
+ 'David',
33
+ 'Richard',
34
+ 'Joseph',
35
+ 'Thomas',
36
+ 'Christopher',
37
+ // Spanish/Latin American
38
+ 'Carlos',
39
+ 'Miguel',
40
+ 'José',
41
+ 'Juan',
42
+ 'Luis',
43
+ 'Antonio',
44
+ 'Francisco',
45
+ 'Diego',
46
+ 'Alejandro',
47
+ 'Pedro',
48
+ // French
49
+ 'Jean',
50
+ 'Pierre',
51
+ 'Louis',
52
+ 'François',
53
+ 'Jacques',
54
+ 'Philippe',
55
+ 'Michel',
56
+ 'André',
57
+ 'Henri',
58
+ 'Nicolas',
59
+ // German
60
+ 'Hans',
61
+ 'Klaus',
62
+ 'Wolfgang',
63
+ 'Dieter',
64
+ 'Jürgen',
65
+ 'Helmut',
66
+ 'Günter',
67
+ 'Manfred',
68
+ 'Stefan',
69
+ 'Matthias',
70
+ // Italian
71
+ 'Marco',
72
+ 'Giuseppe',
73
+ 'Giovanni',
74
+ 'Luca',
75
+ 'Francesco',
76
+ 'Alessandro',
77
+ 'Andrea',
78
+ 'Matteo',
79
+ 'Lorenzo',
80
+ 'Stefano',
81
+ // Russian
82
+ 'Ivan',
83
+ 'Dmitri',
84
+ 'Alexei',
85
+ 'Sergei',
86
+ 'Nikolai',
87
+ 'Mikhail',
88
+ 'Vladimir',
89
+ 'Andrei',
90
+ 'Pavel',
91
+ 'Viktor',
92
+ // Chinese
93
+ 'Wei',
94
+ 'Fang',
95
+ 'Lei',
96
+ 'Ming',
97
+ 'Jian',
98
+ 'Hui',
99
+ 'Tao',
100
+ 'Chen',
101
+ 'Jun',
102
+ 'Hao',
103
+ // Japanese
104
+ 'Hiroshi',
105
+ 'Takeshi',
106
+ 'Kenji',
107
+ 'Yuki',
108
+ 'Haruki',
109
+ 'Akira',
110
+ 'Satoshi',
111
+ 'Kazuki',
112
+ 'Ryu',
113
+ 'Daiki',
114
+ // Korean
115
+ 'Minho',
116
+ 'Jungwoo',
117
+ 'Seojun',
118
+ 'Jihoon',
119
+ 'Donghyun',
120
+ 'Hyunwoo',
121
+ 'Taehyung',
122
+ 'Jimin',
123
+ 'Seungho',
124
+ 'Woojin',
125
+ // Indian
126
+ 'Raj',
127
+ 'Amit',
128
+ 'Vikram',
129
+ 'Arjun',
130
+ 'Rahul',
131
+ 'Sanjay',
132
+ 'Anil',
133
+ 'Ravi',
134
+ 'Suresh',
135
+ 'Deepak',
136
+ // Arabic/Middle Eastern
137
+ 'Mohammed',
138
+ 'Ahmed',
139
+ 'Ali',
140
+ 'Omar',
141
+ 'Hassan',
142
+ 'Yusuf',
143
+ 'Ibrahim',
144
+ 'Khalid',
145
+ 'Tariq',
146
+ 'Samir',
147
+ // Greek
148
+ 'Nikos',
149
+ 'Dimitris',
150
+ 'Kostas',
151
+ 'Yannis',
152
+ 'Giorgos',
153
+ 'Stavros',
154
+ 'Christos',
155
+ 'Panagiotis',
156
+ 'Alexandros',
157
+ 'Vassilis',
158
+ // Polish
159
+ 'Piotr',
160
+ 'Krzysztof',
161
+ 'Andrzej',
162
+ 'Tomasz',
163
+ 'Marek',
164
+ 'Pawel',
165
+ 'Jakub',
166
+ 'Stanislaw',
167
+ 'Wojciech',
168
+ 'Adam',
169
+ // Irish
170
+ 'Liam',
171
+ 'Sean',
172
+ 'Patrick',
173
+ 'Connor',
174
+ 'Cian',
175
+ 'Oisin',
176
+ 'Finn',
177
+ 'Declan',
178
+ 'Brendan',
179
+ 'Eoin',
180
+ // Scandinavian
181
+ 'Erik',
182
+ 'Lars',
183
+ 'Olaf',
184
+ 'Magnus',
185
+ 'Sven',
186
+ 'Bjorn',
187
+ 'Anders',
188
+ 'Henrik',
189
+ 'Nils',
190
+ 'Leif',
191
+ // Portuguese/Brazilian
192
+ 'João',
193
+ 'Pedro',
194
+ 'Paulo',
195
+ 'Bruno',
196
+ 'Lucas',
197
+ 'Gustavo',
198
+ 'Rafael',
199
+ 'Thiago',
200
+ 'Felipe',
201
+ 'Matheus',
202
+ // Dutch
203
+ 'Jan',
204
+ 'Pieter',
205
+ 'Willem',
206
+ 'Hendrik',
207
+ 'Dirk',
208
+ 'Cornelis',
209
+ 'Johannes',
210
+ 'Gerrit',
211
+ 'Arjan',
212
+ 'Bram',
213
+ 'Thijs',
214
+ // Turkish
215
+ 'Mehmet',
216
+ 'Mustafa',
217
+ 'Ahmet',
218
+ 'Emre',
219
+ 'Burak',
220
+ 'Osman',
221
+ 'Hakan',
222
+ 'Murat',
223
+ 'Kemal',
224
+ 'Serkan',
225
+ // Hebrew/Israeli
226
+ 'David',
227
+ 'Moshe',
228
+ 'Yosef',
229
+ 'Avraham',
230
+ 'Yaakov',
231
+ 'Noam',
232
+ 'Eitan',
233
+ 'Oren',
234
+ 'Avi',
235
+ 'Eli',
236
+ // African
237
+ 'Kwame',
238
+ 'Kofi',
239
+ 'Amadi',
240
+ 'Chidi',
241
+ 'Oluwaseun',
242
+ 'Jabari',
243
+ 'Zuberi',
244
+ 'Mandla',
245
+ 'Thabo',
246
+ 'Sipho'
247
+ ];
248
+
249
+ /**
250
+ * Female first names
251
+ * @public
252
+ */
253
+ export const FirstNamesFemale: ReadonlyArray<string> = [
254
+ // American/English
255
+ 'Mary',
256
+ 'Patricia',
257
+ 'Jennifer',
258
+ 'Linda',
259
+ 'Elizabeth',
260
+ 'Barbara',
261
+ 'Susan',
262
+ 'Jessica',
263
+ 'Sarah',
264
+ 'Karen',
265
+ 'Emily',
266
+ 'Ashley',
267
+ 'Amanda',
268
+ 'Stephanie',
269
+ 'Nicole',
270
+ 'Melissa',
271
+ 'Rebecca',
272
+ 'Laura',
273
+ 'Michelle',
274
+ 'Kimberly',
275
+ // Spanish/Latin American
276
+ 'Maria',
277
+ 'Carmen',
278
+ 'Rosa',
279
+ 'Ana',
280
+ 'Isabel',
281
+ 'Lucia',
282
+ 'Elena',
283
+ 'Sofia',
284
+ 'Gabriela',
285
+ 'Valentina',
286
+ // French
287
+ 'Marie',
288
+ 'Jeanne',
289
+ 'Françoise',
290
+ 'Monique',
291
+ 'Catherine',
292
+ 'Nathalie',
293
+ 'Isabelle',
294
+ 'Sylvie',
295
+ 'Chantal',
296
+ 'Céline',
297
+ // German
298
+ 'Anna',
299
+ 'Ursula',
300
+ 'Ingrid',
301
+ 'Monika',
302
+ 'Karin',
303
+ 'Sabine',
304
+ 'Petra',
305
+ 'Birgit',
306
+ 'Claudia',
307
+ 'Thea',
308
+ // Italian
309
+ 'Giulia',
310
+ 'Francesca',
311
+ 'Chiara',
312
+ 'Sara',
313
+ 'Valentina',
314
+ 'Alessia',
315
+ 'Federica',
316
+ 'Elisa',
317
+ 'Martina',
318
+ 'Giorgia',
319
+ // Russian
320
+ 'Natasha',
321
+ 'Olga',
322
+ 'Tatiana',
323
+ 'Svetlana',
324
+ 'Irina',
325
+ 'Ekaterina',
326
+ 'Marina',
327
+ 'Anastasia',
328
+ 'Yelena',
329
+ 'Ludmila',
330
+ // Chinese
331
+ 'Mei',
332
+ 'Ling',
333
+ 'Xiu',
334
+ 'Yan',
335
+ 'Jing',
336
+ 'Li',
337
+ 'Fang',
338
+ 'Hui',
339
+ 'Xia',
340
+ 'Yue',
341
+ // Japanese
342
+ 'Yuki',
343
+ 'Sakura',
344
+ 'Hana',
345
+ 'Aiko',
346
+ 'Keiko',
347
+ 'Yumi',
348
+ 'Haruka',
349
+ 'Emi',
350
+ 'Akiko',
351
+ 'Naomi',
352
+ // Korean
353
+ 'Minji',
354
+ 'Soyeon',
355
+ 'Jihye',
356
+ 'Yuna',
357
+ 'Eunji',
358
+ 'Seoyeon',
359
+ 'Haeun',
360
+ 'Jiwoo',
361
+ 'Chaeyoung',
362
+ 'Soojin',
363
+ // Indian
364
+ 'Priya',
365
+ 'Ananya',
366
+ 'Deepna',
367
+ 'Lakshmi',
368
+ 'Sunita',
369
+ 'Kavita',
370
+ 'Meera',
371
+ 'Pooja',
372
+ 'Neha',
373
+ 'Anjali',
374
+ // Arabic/Middle Eastern
375
+ 'Fatima',
376
+ 'Aisha',
377
+ 'Layla',
378
+ 'Noor',
379
+ 'Yasmin',
380
+ 'Amira',
381
+ 'Hana',
382
+ 'Zara',
383
+ 'Mariam',
384
+ 'Leila',
385
+ // Greek
386
+ 'Eleni',
387
+ 'Maria',
388
+ 'Katerina',
389
+ 'Sofia',
390
+ 'Dimitra',
391
+ 'Anastasia',
392
+ 'Georgia',
393
+ 'Ioanna',
394
+ 'Athena',
395
+ 'Despina',
396
+ // Polish
397
+ 'Anna',
398
+ 'Maria',
399
+ 'Katarzyna',
400
+ 'Malgorzata',
401
+ 'Agnieszka',
402
+ 'Barbara',
403
+ 'Ewa',
404
+ 'Krystyna',
405
+ 'Zofia',
406
+ 'Jadwiga',
407
+ // Irish
408
+ 'Siobhan',
409
+ 'Aoife',
410
+ 'Ciara',
411
+ 'Niamh',
412
+ 'Saoirse',
413
+ 'Aisling',
414
+ 'Roisin',
415
+ 'Maeve',
416
+ 'Orla',
417
+ 'Fiona',
418
+ // Scandinavian
419
+ 'Ingrid',
420
+ 'Astrid',
421
+ 'Freya',
422
+ 'Sigrid',
423
+ 'Helga',
424
+ 'Greta',
425
+ 'Liv',
426
+ 'Elin',
427
+ 'Maja',
428
+ 'Saga',
429
+ // Portuguese/Brazilian
430
+ 'Ana',
431
+ 'Beatriz',
432
+ 'Carla',
433
+ 'Fernanda',
434
+ 'Juliana',
435
+ 'Larissa',
436
+ 'Mariana',
437
+ 'Patricia',
438
+ 'Renata',
439
+ 'Vanessa',
440
+ // Dutch
441
+ 'Emma',
442
+ 'Sophie',
443
+ 'Lotte',
444
+ 'Eva',
445
+ 'Fleur',
446
+ 'Femke',
447
+ 'Sanne',
448
+ 'Marieke',
449
+ 'Anneke',
450
+ 'Danique',
451
+ // Turkish
452
+ 'Ayse',
453
+ 'Fatma',
454
+ 'Zeynep',
455
+ 'Elif',
456
+ 'Merve',
457
+ 'Esra',
458
+ 'Selin',
459
+ 'Derya',
460
+ 'Tugba',
461
+ 'Ebru',
462
+ // Hebrew/Israeli
463
+ 'Miriam',
464
+ 'Ruth',
465
+ 'Esther',
466
+ 'Rivka',
467
+ 'Tamar',
468
+ 'Yael',
469
+ 'Noa',
470
+ 'Maya',
471
+ 'Shira',
472
+ 'Talia',
473
+ // African
474
+ 'Amara',
475
+ 'Zuri',
476
+ 'Nia',
477
+ 'Imani',
478
+ 'Adaeze',
479
+ 'Chiamaka',
480
+ 'Thandiwe',
481
+ 'Naledi',
482
+ 'Ayana',
483
+ 'Makena'
484
+ ];
485
+
486
+ /**
487
+ * All first names
488
+ * @public
489
+ */
490
+ export const FirstNames: ReadonlyArray<string> = [...FirstNamesMale, ...FirstNamesFemale];
491
+
492
+ /**
493
+ * Family names / surnames
494
+ * @public
495
+ */
496
+ export const FamilyNames: ReadonlyArray<string> = [
497
+ // American/English
498
+ 'Smith',
499
+ 'Johnson',
500
+ 'Williams',
501
+ 'Brown',
502
+ 'Jones',
503
+ 'Miller',
504
+ 'Davis',
505
+ 'Wilson',
506
+ 'Anderson',
507
+ 'Taylor',
508
+ // Spanish/Latin American
509
+ 'García',
510
+ 'Rodríguez',
511
+ 'Martínez',
512
+ 'López',
513
+ 'González',
514
+ 'Hernández',
515
+ 'Pérez',
516
+ 'Sánchez',
517
+ 'Ramírez',
518
+ 'Torres',
519
+ // French
520
+ 'Martin',
521
+ 'Bernard',
522
+ 'Dubois',
523
+ 'Thomas',
524
+ 'Robert',
525
+ 'Richard',
526
+ 'Petit',
527
+ 'Durand',
528
+ 'Leroy',
529
+ 'Moreau',
530
+ // German
531
+ 'Müller',
532
+ 'Schmidt',
533
+ 'Schneider',
534
+ 'Fischer',
535
+ 'Weber',
536
+ 'Meyer',
537
+ 'Wagner',
538
+ 'Becker',
539
+ 'Schulz',
540
+ 'Hoffmann',
541
+ // Italian
542
+ 'Rossi',
543
+ 'Russo',
544
+ 'Ferrari',
545
+ 'Esposito',
546
+ 'Bianchi',
547
+ 'Romano',
548
+ 'Colombo',
549
+ 'Ricci',
550
+ 'Marino',
551
+ 'Greco',
552
+ // Russian
553
+ 'Ivanov',
554
+ 'Smirnov',
555
+ 'Kuznetsov',
556
+ 'Popov',
557
+ 'Sokolov',
558
+ 'Lebedev',
559
+ 'Kozlov',
560
+ 'Novikov',
561
+ 'Morozov',
562
+ 'Petrov',
563
+ // Chinese
564
+ 'Wang',
565
+ 'Li',
566
+ 'Zhang',
567
+ 'Liu',
568
+ 'Chen',
569
+ 'Yang',
570
+ 'Huang',
571
+ 'Zhao',
572
+ 'Wu',
573
+ 'Zhou',
574
+ // Japanese
575
+ 'Sato',
576
+ 'Suzuki',
577
+ 'Takahashi',
578
+ 'Tanaka',
579
+ 'Watanabe',
580
+ 'Ito',
581
+ 'Yamamoto',
582
+ 'Nakamura',
583
+ 'Kobayashi',
584
+ 'Kato',
585
+ // Korean
586
+ 'Kim',
587
+ 'Lee',
588
+ 'Park',
589
+ 'Choi',
590
+ 'Jung',
591
+ 'Kang',
592
+ 'Cho',
593
+ 'Yoon',
594
+ 'Jang',
595
+ 'Lim',
596
+ // Indian
597
+ 'Patel',
598
+ 'Sharma',
599
+ 'Singh',
600
+ 'Kumar',
601
+ 'Gupta',
602
+ 'Reddy',
603
+ 'Nair',
604
+ 'Rao',
605
+ 'Mehta',
606
+ 'Joshi',
607
+ // Arabic/Middle Eastern
608
+ 'Al-Farsi',
609
+ 'Al-Rashid',
610
+ 'Hassan',
611
+ 'Hussein',
612
+ 'Khan',
613
+ 'Malik',
614
+ 'Nasser',
615
+ 'Qureshi',
616
+ 'Rahman',
617
+ 'Sharif',
618
+ // Greek
619
+ 'Papadopoulos',
620
+ 'Pappas',
621
+ 'Karagiannis',
622
+ 'Vlahos',
623
+ 'Nikolaou',
624
+ 'Georgiou',
625
+ 'Konstantinou',
626
+ 'Alexiou',
627
+ 'Dimitriou',
628
+ 'Christodoulou',
629
+ // Polish
630
+ 'Nowak',
631
+ 'Kowalski',
632
+ 'Wiśniewski',
633
+ 'Wójcik',
634
+ 'Kowalczyk',
635
+ 'Kamiński',
636
+ 'Lewandowski',
637
+ 'Zieliński',
638
+ 'Szymański',
639
+ 'Woźniak',
640
+ // Irish
641
+ 'Murphy',
642
+ 'Kelly',
643
+ 'Sullivan',
644
+ 'Walsh',
645
+ 'Smith',
646
+ "O'Brien",
647
+ 'Byrne',
648
+ 'Ryan',
649
+ "O'Connor",
650
+ "O'Neill",
651
+ // Scandinavian
652
+ 'Johansson',
653
+ 'Andersson',
654
+ 'Karlsson',
655
+ 'Nilsson',
656
+ 'Eriksson',
657
+ 'Larsson',
658
+ 'Olsson',
659
+ 'Persson',
660
+ 'Svensson',
661
+ 'Gustafsson',
662
+ // Portuguese/Brazilian
663
+ 'Silva',
664
+ 'Santos',
665
+ 'Oliveira',
666
+ 'Souza',
667
+ 'Rodrigues',
668
+ 'Ferreira',
669
+ 'Alves',
670
+ 'Pereira',
671
+ 'Lima',
672
+ 'Gomes',
673
+ // Dutch
674
+ 'De Jong',
675
+ 'Jansen',
676
+ 'De Vries',
677
+ 'Van den Berg',
678
+ 'Van Dijk',
679
+ 'Bakker',
680
+ 'Janssen',
681
+ 'Visser',
682
+ 'Smit',
683
+ 'Meijer',
684
+ // Turkish
685
+ 'Yılmaz',
686
+ 'Kaya',
687
+ 'Demir',
688
+ 'Çelik',
689
+ 'Şahin',
690
+ 'Yıldız',
691
+ 'Yıldırım',
692
+ 'Öztürk',
693
+ 'Aydın',
694
+ 'Özdemir',
695
+ // Hebrew/Israeli
696
+ 'Cohen',
697
+ 'Levi',
698
+ 'Mizrahi',
699
+ 'Peretz',
700
+ 'Biton',
701
+ 'Dahan',
702
+ 'Friedman',
703
+ 'Goldberg',
704
+ 'Rosenberg',
705
+ 'Shapiro',
706
+ // African
707
+ 'Okonkwo',
708
+ 'Mensah',
709
+ 'Nkosi',
710
+ 'Diallo',
711
+ 'Traore',
712
+ 'Osei',
713
+ 'Mbeki',
714
+ 'Kamau',
715
+ 'Mwangi',
716
+ 'Ndlovu'
717
+ ];
package/src/index.ts ADDED
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @packageDocumentation
3
+ *
4
+ */
5
+
6
+ export * as Generator from './generator';
7
+ export * as GeneratorData from './generator-data';