@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 +2 -2
- package/dist/{chunk-JG5KC5FP.js → chunk-4JP5SZOU.js} +24 -24
- package/dist/{chunk-CDRQCMN2.cjs → chunk-DNP3S2X2.cjs} +24 -24
- package/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/server.cjs +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
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"
|
|
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
|
|
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..
|