@julong/mono-rele2-utils 1.35.0 → 1.37.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 CHANGED
@@ -116,7 +116,7 @@ Converts text to the specified case format.
116
116
  | Name | Type | Description |
117
117
  |------|------|-------------|
118
118
  | `input` | `string` | Text to convert |
119
- | `to` | `"upper" | "lower" | "capitalize" | "camel" | "snake" | "kebab"` | Target case format |
119
+ | `to` | `"upper" \| "lower" \| "capitalize" \| "camel" \| "snake" \| "kebab"` | Target case format |
120
120
 
121
121
 
122
122
  **Returns**
@@ -196,7 +196,7 @@ mono-rele2-utils-cli truncateTool "hello world" 8 "…"
196
196
  **Signature**
197
197
 
198
198
  ```typescript
199
- function object_flatten(json: string \| JSON object): JsonObject
199
+ function object_flatten(json: string | JSON object): JsonObject
200
200
  ```
201
201
 
202
202
  Flattens a nested JSON object of any depth into dot-notation key-value pairs. Accepts a JSON string and recursively flattens all levels. Arrays and primitives at any level are treated as leaf values..