randex 0.9.0 → 0.10.0
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 +13 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -302,8 +302,10 @@ There are examples how to create custom function for most common cases:
|
|
|
302
302
|
<b>randomFileName</b>
|
|
303
303
|
|
|
304
304
|
```ts
|
|
305
|
-
random([
|
|
306
|
-
|
|
305
|
+
random([
|
|
306
|
+
["english", "number"],
|
|
307
|
+
[3, 10],
|
|
308
|
+
]) +
|
|
307
309
|
"." +
|
|
308
310
|
random([
|
|
309
311
|
["english", "l"],
|
|
@@ -326,13 +328,19 @@ random(
|
|
|
326
328
|
<b>randomEmail</b>
|
|
327
329
|
|
|
328
330
|
```ts
|
|
329
|
-
random([
|
|
331
|
+
random([
|
|
332
|
+
[["english", "l"], "number"],
|
|
333
|
+
[6, 10],
|
|
334
|
+
]) +
|
|
330
335
|
"@" +
|
|
331
|
-
random(["english", "l"], [["english", "l"], "-", [0, 5]], ["english", "l"]) +
|
|
332
|
-
"." +
|
|
333
336
|
random([
|
|
334
337
|
["english", "l"],
|
|
335
338
|
[2, 4],
|
|
339
|
+
]) +
|
|
340
|
+
"." +
|
|
341
|
+
random([
|
|
342
|
+
["english", "l"],
|
|
343
|
+
[1, 6],
|
|
336
344
|
]);
|
|
337
345
|
```
|
|
338
346
|
|