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.
Files changed (2) hide show
  1. package/README.md +13 -5
  2. 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([["english", "number"], "_.", [5, 10]]) +
306
- random(["english", "number"]) +
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(["english", "l"], [[["english", "l"], "number"], 10], ["english", "l"]) +
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randex",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",