toolbox-x 1.2.1 → 2.0.1

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 (130) hide show
  1. package/dist/{Color-Dsut0Bex.d.cts → Color-BCsnSEmt.d.cts} +1 -1
  2. package/dist/{Color-DCfoQk_-.d.mts → Color-CKmhtXdG.d.mts} +1 -1
  3. package/dist/{Stylog-DXZtHAbp.d.mts → Stylog-CXpN-oeY.d.mts} +5 -5
  4. package/dist/{Stylog-TyLCTRtT.d.cts → Stylog-DJOVxym_.d.cts} +5 -5
  5. package/dist/{area-CcRQ6TfR.d.cts → area-CHhwLR12.d.cts} +3 -3
  6. package/dist/{area-CvSC96va.d.mts → area-DOqFLNcr.d.mts} +3 -3
  7. package/dist/{array-B6jWzJ4F.d.mts → array-BNbTIBni.d.mts} +1 -1
  8. package/dist/{array-CqDu610k.d.cts → array-CL3apdfa.d.cts} +1 -1
  9. package/dist/{basics-KobRNhV-.d.cts → basics-B9aytOct.d.cts} +5 -5
  10. package/dist/{basics-V5M2oltn.d.mts → basics-BNQqY5WD.d.mts} +5 -5
  11. package/dist/{basics-K8BDSYD6.cjs → basics-CJmdhXoo.cjs} +567 -14
  12. package/dist/{basics-1_M7UvCn.mjs → basics-CebgkY-n.mjs} +449 -16
  13. package/dist/{case-uKFzt5TY.cjs → case-Bd7QLHYw.cjs} +3 -3
  14. package/dist/{case-KdrBKjjK.d.mts → case-Bkkm6Mqi.d.mts} +12 -12
  15. package/dist/{case-BQwn5N-k.mjs → case-DBC4Rj0h.mjs} +3 -3
  16. package/dist/{case--Vjea9DS.d.cts → case-DFD3Ml1p.d.cts} +12 -12
  17. package/dist/change-case.cjs +1 -1
  18. package/dist/change-case.d.cts +1 -1
  19. package/dist/change-case.d.mts +1 -1
  20. package/dist/change-case.mjs +1 -1
  21. package/dist/colors.d.cts +2 -2
  22. package/dist/colors.d.mts +2 -2
  23. package/dist/{constants-C4RW7Lei.cjs → constants-Dz5vxNQ9.cjs} +37 -0
  24. package/dist/{constants-rNhoy4DH.mjs → constants-j-iXjwDl.mjs} +32 -1
  25. package/dist/constants.cjs +1 -1
  26. package/dist/constants.d.cts +1 -1
  27. package/dist/constants.d.mts +1 -1
  28. package/dist/constants.mjs +1 -1
  29. package/dist/converter.cjs +2 -2
  30. package/dist/converter.d.cts +2 -2
  31. package/dist/converter.d.mts +2 -2
  32. package/dist/converter.mjs +2 -2
  33. package/dist/date.cjs +51 -10
  34. package/dist/date.d.cts +22 -5
  35. package/dist/date.d.mts +22 -5
  36. package/dist/date.mjs +49 -11
  37. package/dist/dom.cjs +5 -6
  38. package/dist/dom.d.cts +3 -3
  39. package/dist/dom.d.mts +3 -3
  40. package/dist/dom.mjs +4 -5
  41. package/dist/{form-DoQGMTOc.d.mts → form-CC9T9WnX.d.cts} +2 -2
  42. package/dist/{form-mP-nl8EC.d.cts → form-CheKmgjj.d.mts} +2 -2
  43. package/dist/guards-B2s2wlVN.mjs +425 -0
  44. package/dist/{guards-C0smSAKC.mjs → guards-BK1QuvFZ.mjs} +2 -2
  45. package/dist/{guards-ClGDJrQp.cjs → guards-Bsh6Bfdq.cjs} +2 -2
  46. package/dist/{guards-0VjySrPM.cjs → guards-DMJcjPDt.cjs} +279 -3
  47. package/dist/guards.cjs +9 -8
  48. package/dist/guards.d.cts +6 -5
  49. package/dist/guards.d.mts +6 -5
  50. package/dist/guards.mjs +5 -5
  51. package/dist/{hash-BcoFHSu1.d.cts → hash-C0Wr7H8v.d.mts} +1 -1
  52. package/dist/{hash-GYRx2ee_.d.mts → hash-DJ8b9VHB.d.cts} +1 -1
  53. package/dist/hash.cjs +8 -8
  54. package/dist/hash.d.cts +8 -8
  55. package/dist/hash.d.mts +8 -8
  56. package/dist/hash.mjs +4 -5
  57. package/dist/{http-status-xrlR-LlB.d.mts → http-status-BSee6mB5.d.mts} +1 -1
  58. package/dist/{http-status-C0DOpCDf.d.cts → http-status-DJn87B_Y.d.cts} +1 -1
  59. package/dist/http-status.cjs +4 -4
  60. package/dist/http-status.d.cts +6 -6
  61. package/dist/http-status.d.mts +6 -6
  62. package/dist/http-status.mjs +4 -4
  63. package/dist/index-01oaUuP6.d.mts +292 -0
  64. package/dist/index-CgwlWrZM.d.cts +292 -0
  65. package/dist/index.cjs +67 -248
  66. package/dist/index.d.cts +25 -280
  67. package/dist/index.d.mts +25 -280
  68. package/dist/index.mjs +11 -194
  69. package/dist/{object-ChFVh95z.d.cts → object-Mglyg4AW.d.cts} +28 -1
  70. package/dist/{object-ChFVh95z.d.mts → object-Mglyg4AW.d.mts} +28 -1
  71. package/dist/{objectify-DEnFpPt1.mjs → objectify-CQa8gQib.mjs} +3 -4
  72. package/dist/{objectify-DewBSJP_.cjs → objectify-xQvZS3UI.cjs} +5 -6
  73. package/dist/paginator.d.cts +1 -1
  74. package/dist/paginator.d.mts +1 -1
  75. package/dist/{parse-DovagZFA.cjs → parse-BWu3UbOk.cjs} +4 -4
  76. package/dist/{parse-BhZ6-tKg.mjs → parse-CNDdS-sy.mjs} +4 -4
  77. package/dist/{pluralizer-CdG-VJ6t.d.cts → pluralizer-BGMC8LLz.d.cts} +1 -1
  78. package/dist/{pluralizer-D2Lh8CdU.d.mts → pluralizer-CQNzRhwR.d.mts} +1 -1
  79. package/dist/pluralizer.cjs +6 -6
  80. package/dist/pluralizer.d.cts +6 -6
  81. package/dist/pluralizer.d.mts +6 -6
  82. package/dist/pluralizer.mjs +6 -6
  83. package/dist/{specials-Cye93-uo.mjs → specials-Hq5Ncd6y.mjs} +2 -2
  84. package/dist/{specials-BM6cx43o.cjs → specials-dkYP1Nh2.cjs} +2 -2
  85. package/dist/{string-Dq2b8rcN.d.cts → string-BDwBuik3.d.cts} +4 -2
  86. package/dist/{string-CkwTVFeL.d.mts → string-_1ImwUJT.d.mts} +4 -2
  87. package/dist/stylog.cjs +5 -5
  88. package/dist/stylog.d.cts +2 -2
  89. package/dist/stylog.d.mts +2 -2
  90. package/dist/stylog.mjs +5 -5
  91. package/dist/types/array.d.cts +1 -1
  92. package/dist/types/array.d.mts +1 -1
  93. package/dist/types/colors.d.cts +1 -1
  94. package/dist/types/colors.d.mts +1 -1
  95. package/dist/types/converter.d.cts +1 -1
  96. package/dist/types/converter.d.mts +1 -1
  97. package/dist/types/date.d.cts +2 -2
  98. package/dist/types/date.d.mts +2 -2
  99. package/dist/types/form.d.cts +1 -1
  100. package/dist/types/form.d.mts +1 -1
  101. package/dist/types/hash.d.cts +1 -1
  102. package/dist/types/hash.d.mts +1 -1
  103. package/dist/types/http-status.d.cts +1 -1
  104. package/dist/types/http-status.d.mts +1 -1
  105. package/dist/types/index.d.cts +2 -2
  106. package/dist/types/index.d.mts +2 -2
  107. package/dist/types/number.d.cts +1 -1
  108. package/dist/types/number.d.mts +1 -1
  109. package/dist/types/object.d.cts +2 -2
  110. package/dist/types/object.d.mts +2 -2
  111. package/dist/types/pluralizer.d.cts +1 -1
  112. package/dist/types/pluralizer.d.mts +1 -1
  113. package/dist/types/string.d.cts +2 -2
  114. package/dist/types/string.d.mts +2 -2
  115. package/dist/types/stylog.d.cts +1 -1
  116. package/dist/types/stylog.d.mts +1 -1
  117. package/dist/types/utils.d.cts +1 -1
  118. package/dist/types/utils.d.mts +1 -1
  119. package/dist/{utilities-CzyXCRHM.cjs → utilities-CWV1GPGY.cjs} +1 -1
  120. package/dist/{utilities-B9axOvOX.mjs → utilities-DPscNbS1.mjs} +1 -1
  121. package/dist/{uuid-DgTBxcVu.d.cts → uuid-CiJtSUbo.d.cts} +3 -3
  122. package/dist/{uuid-Yc3Uu8qr.d.mts → uuid-D-gjPs4Q.d.mts} +3 -3
  123. package/dist/verbalizer.cjs +3 -3
  124. package/dist/verbalizer.d.cts +3 -3
  125. package/dist/verbalizer.d.mts +3 -3
  126. package/dist/verbalizer.mjs +3 -3
  127. package/package.json +7 -6
  128. package/dist/guards-DeO4ukiK.mjs +0 -221
  129. package/dist/utils-BxguWSoa.cjs +0 -568
  130. package/dist/utils-DXovsTKs.mjs +0 -449
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as Maybe, Jn as Percent, V as Branded } from "./object-ChFVh95z.cjs";
17
+ import { $n as Percent, H as Branded, nt as Maybe } from "./object-Mglyg4AW.cjs";
18
18
  import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.cjs";
19
19
 
20
20
  //#region src/types/colors.d.ts
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as Maybe, Jn as Percent, V as Branded } from "./object-ChFVh95z.mjs";
17
+ import { $n as Percent, H as Branded, nt as Maybe } from "./object-Mglyg4AW.mjs";
18
18
  import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.mjs";
19
19
 
20
20
  //#region src/types/colors.d.ts
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { s as CSSColor } from "./Color-DCfoQk_-.mjs";
17
+ import { s as CSSColor } from "./Color-CKmhtXdG.mjs";
18
18
 
19
19
  //#region src/stylog/constants.d.ts
20
20
  /** Records of ANSI-16 colors with values */
@@ -88,7 +88,7 @@ type StylogChain = LogStyler & { [K in Styles]: StylogChain };
88
88
  *
89
89
  * @remarks
90
90
  * - Allows chaining of style methods or initializing with predefined styles.
91
- * - For fluent, chainable styling with zero configuration use {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/misc/stylog Stylog} (`LogStyler` chainable wrapper).
91
+ * - For fluent, chainable styling with zero configuration use {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/misc/stylog Stylog} (`LogStyler` chainable wrapper).
92
92
  *
93
93
  * @example
94
94
  * const styled = new LogStyler(['red', 'bold']);
@@ -185,7 +185,7 @@ declare class LogStyler {
185
185
  * @remarks
186
186
  * - This method is specifically designed for browser environments and returns a tuple containing the formatted string with `%c` placeholder and an array of CSS styles (`string[]`).
187
187
  * - Use this when you need direct access to the CSS styling for custom browser output.
188
- * - If you want to format with ANSI escape codes, consider using {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/LogStyler#toansiinput-stringify toANSI} method.
188
+ * - If you want to format with ANSI escape codes, consider using {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/log-styler#toansiinput-stringify toANSI} method.
189
189
  *
190
190
  * @param input - Input to style before printing in the shell.
191
191
  * @param stringify - Whether to apply `JSON.stringify()` before styling. Defaults to `false`.
@@ -224,7 +224,7 @@ declare class LogStyler {
224
224
  *
225
225
  * @remarks
226
226
  * - This method returns ANSI-formatted strings suitable for environments that support ANSI escape codes (terminals, modern browser consoles, etc.).
227
- * - For unsupported browsers, consider using the {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/LogStyler#loginput-stringify log} method to print directly or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/LogStyler#tocssinput-stringify toCSS} to get styled tuple `[format, cssList]` for Browser.
227
+ * - For unsupported browsers, consider using the {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/log-styler#loginput-stringify log} method to print directly or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/log-styler#tocssinput-stringify toCSS} to get styled tuple `[format, cssList]` for Browser.
228
228
  *
229
229
  * @param input - Input to style before printing in the shell.
230
230
  * @param stringify - Whether to apply `JSON.stringify()` before styling. Defaults to `false`.
@@ -493,7 +493,7 @@ declare class LogStyler {
493
493
  * - In browsers, styles are applied using `CSS`; in `Node.js`, `ANSI` escape codes are used.
494
494
  * - When multiple styles of the same category are chained, the last one wins.
495
495
  * - Use `.log(value, stringify?)` to print; set `stringify` to `true` to serialize with `JSON.stringify`.
496
- * - If you need custom reusable style configurations, use {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/LogStyler Stylog} class.
496
+ * - If you need custom reusable style configurations, use {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/log-styler Stylog} class.
497
497
  *
498
498
  * @example
499
499
  * // Simple color
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { s as CSSColor } from "./Color-Dsut0Bex.cjs";
17
+ import { s as CSSColor } from "./Color-BCsnSEmt.cjs";
18
18
 
19
19
  //#region src/stylog/constants.d.ts
20
20
  /** Records of ANSI-16 colors with values */
@@ -88,7 +88,7 @@ type StylogChain = LogStyler & { [K in Styles]: StylogChain };
88
88
  *
89
89
  * @remarks
90
90
  * - Allows chaining of style methods or initializing with predefined styles.
91
- * - For fluent, chainable styling with zero configuration use {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/misc/stylog Stylog} (`LogStyler` chainable wrapper).
91
+ * - For fluent, chainable styling with zero configuration use {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/misc/stylog Stylog} (`LogStyler` chainable wrapper).
92
92
  *
93
93
  * @example
94
94
  * const styled = new LogStyler(['red', 'bold']);
@@ -185,7 +185,7 @@ declare class LogStyler {
185
185
  * @remarks
186
186
  * - This method is specifically designed for browser environments and returns a tuple containing the formatted string with `%c` placeholder and an array of CSS styles (`string[]`).
187
187
  * - Use this when you need direct access to the CSS styling for custom browser output.
188
- * - If you want to format with ANSI escape codes, consider using {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/LogStyler#toansiinput-stringify toANSI} method.
188
+ * - If you want to format with ANSI escape codes, consider using {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/log-styler#toansiinput-stringify toANSI} method.
189
189
  *
190
190
  * @param input - Input to style before printing in the shell.
191
191
  * @param stringify - Whether to apply `JSON.stringify()` before styling. Defaults to `false`.
@@ -224,7 +224,7 @@ declare class LogStyler {
224
224
  *
225
225
  * @remarks
226
226
  * - This method returns ANSI-formatted strings suitable for environments that support ANSI escape codes (terminals, modern browser consoles, etc.).
227
- * - For unsupported browsers, consider using the {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/LogStyler#loginput-stringify log} method to print directly or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/LogStyler#tocssinput-stringify toCSS} to get styled tuple `[format, cssList]` for Browser.
227
+ * - For unsupported browsers, consider using the {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/log-styler#loginput-stringify log} method to print directly or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/log-styler#tocssinput-stringify toCSS} to get styled tuple `[format, cssList]` for Browser.
228
228
  *
229
229
  * @param input - Input to style before printing in the shell.
230
230
  * @param stringify - Whether to apply `JSON.stringify()` before styling. Defaults to `false`.
@@ -493,7 +493,7 @@ declare class LogStyler {
493
493
  * - In browsers, styles are applied using `CSS`; in `Node.js`, `ANSI` escape codes are used.
494
494
  * - When multiple styles of the same category are chained, the last one wins.
495
495
  * - Use `.log(value, stringify?)` to print; set `stringify` to `true` to serialize with `JSON.stringify`.
496
- * - If you need custom reusable style configurations, use {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/LogStyler Stylog} class.
496
+ * - If you need custom reusable style configurations, use {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/log-styler Stylog} class.
497
497
  *
498
498
  * @example
499
499
  * // Simple color
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Ar as LooseLiteral, Nr as Mutable, i as $Record, it as Numeric } from "./object-ChFVh95z.cjs";
17
+ import { Fr as LooseLiteral, Rr as Mutable, ct as Numeric, i as $Record } from "./object-Mglyg4AW.cjs";
18
18
  import { t as UNITS } from "./constants-D8RzBjsL.cjs";
19
19
 
20
20
  //#region src/converter/data.d.ts
@@ -298,7 +298,7 @@ declare class $BaseConverter<Unit extends $Unit> {
298
298
  *
299
299
  * @remarks
300
300
  * - This method is automatically called when the instance is used in a string context.
301
- * - For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/Pluralizer Pluralizer Class} instead.
301
+ * - For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/pluralizer Pluralizer Class} instead.
302
302
  */
303
303
  toString(): string;
304
304
  /**
@@ -353,7 +353,7 @@ declare class $BaseConverter<Unit extends $Unit> {
353
353
  * @param decimals Number of decimal places for fractional value.
354
354
  * @returns Formatted string with proper unit pluralization.
355
355
  *
356
- * @remarks For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/Pluralizer Pluralizer Class} instead.
356
+ * @remarks For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/pluralizer Pluralizer Class} instead.
357
357
  */
358
358
  format(decimals?: number): string;
359
359
  /**
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Ar as LooseLiteral, Nr as Mutable, i as $Record, it as Numeric } from "./object-ChFVh95z.mjs";
17
+ import { Fr as LooseLiteral, Rr as Mutable, ct as Numeric, i as $Record } from "./object-Mglyg4AW.mjs";
18
18
  import { t as UNITS } from "./constants-D8RzBjsL.mjs";
19
19
 
20
20
  //#region src/converter/data.d.ts
@@ -298,7 +298,7 @@ declare class $BaseConverter<Unit extends $Unit> {
298
298
  *
299
299
  * @remarks
300
300
  * - This method is automatically called when the instance is used in a string context.
301
- * - For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/Pluralizer Pluralizer Class} instead.
301
+ * - For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/pluralizer Pluralizer Class} instead.
302
302
  */
303
303
  toString(): string;
304
304
  /**
@@ -353,7 +353,7 @@ declare class $BaseConverter<Unit extends $Unit> {
353
353
  * @param decimals Number of decimal places for fractional value.
354
354
  * @returns Formatted string with proper unit pluralization.
355
355
  *
356
- * @remarks For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/Pluralizer Pluralizer Class} instead.
356
+ * @remarks For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/pluralizer Pluralizer Class} instead.
357
357
  */
358
358
  format(decimals?: number): string;
359
359
  /**
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { E as NestedPrimitiveKey, nt as NormalPrimitiveKey, y as GenericObject } from "./object-ChFVh95z.mjs";
17
+ import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject } from "./object-Mglyg4AW.mjs";
18
18
 
19
19
  //#region src/types/array.d.ts
20
20
  /** * Flatten Array or Wrap in Array */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { E as NestedPrimitiveKey, nt as NormalPrimitiveKey, y as GenericObject } from "./object-ChFVh95z.cjs";
17
+ import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject } from "./object-Mglyg4AW.cjs";
18
18
 
19
19
  //#region src/types/array.d.ts
20
20
  /** * Flatten Array or Wrap in Array */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { F as RandomIdOptions } from "./string-Dq2b8rcN.cjs";
17
+ import { I as RandomIdOptions } from "./string-BDwBuik3.cjs";
18
18
 
19
19
  //#region src/string/basics.d.ts
20
20
  /**
@@ -31,8 +31,8 @@ declare function truncateString(str: string, maxLength: number): string;
31
31
  * @param options Configuration options for random ID generation.
32
32
  * @returns The generated ID string composed of the random alphanumeric string of specified length with optional `timeStamp`, `prefix`, and `suffix`, `caseOption` and `separator`.
33
33
  *
34
- * @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/uuid uuid} for `uuid` generation
35
- * @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for random hexadecimal string generation
34
+ * @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/uuid uuid} for `uuid` generation
35
+ * @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/random-hex randomHex} for random hexadecimal string generation
36
36
  *
37
37
  * @example
38
38
  * // Generate an ID with all default options
@@ -78,14 +78,14 @@ declare function truncateString(str: string, maxLength: number): string;
78
78
  */
79
79
  declare function generateRandomID(options?: RandomIdOptions): string;
80
80
  /**
81
- * * Trims all the words in a string.
81
+ * * Trims all whitespaces in a string.
82
82
  *
83
83
  * @param input The string to trim.
84
84
  * @returns Trimmed string.
85
85
  */
86
86
  declare function trimString(input: string): string;
87
87
  /**
88
- * * Trims all the words in an array of strings.
88
+ * * Trims all whitespaces in an array of strings.
89
89
  *
90
90
  * @param input The array of strings to trim.
91
91
  * @returns Trimmed array of strings.
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { F as RandomIdOptions } from "./string-CkwTVFeL.mjs";
17
+ import { I as RandomIdOptions } from "./string-_1ImwUJT.mjs";
18
18
 
19
19
  //#region src/string/basics.d.ts
20
20
  /**
@@ -31,8 +31,8 @@ declare function truncateString(str: string, maxLength: number): string;
31
31
  * @param options Configuration options for random ID generation.
32
32
  * @returns The generated ID string composed of the random alphanumeric string of specified length with optional `timeStamp`, `prefix`, and `suffix`, `caseOption` and `separator`.
33
33
  *
34
- * @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/uuid uuid} for `uuid` generation
35
- * @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for random hexadecimal string generation
34
+ * @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/uuid uuid} for `uuid` generation
35
+ * @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/random-hex randomHex} for random hexadecimal string generation
36
36
  *
37
37
  * @example
38
38
  * // Generate an ID with all default options
@@ -78,14 +78,14 @@ declare function truncateString(str: string, maxLength: number): string;
78
78
  */
79
79
  declare function generateRandomID(options?: RandomIdOptions): string;
80
80
  /**
81
- * * Trims all the words in a string.
81
+ * * Trims all whitespaces in a string.
82
82
  *
83
83
  * @param input The string to trim.
84
84
  * @returns Trimmed string.
85
85
  */
86
86
  declare function trimString(input: string): string;
87
87
  /**
88
- * * Trims all the words in an array of strings.
88
+ * * Trims all whitespaces in an array of strings.
89
89
  *
90
90
  * @param input The array of strings to trim.
91
91
  * @returns Trimmed array of strings.