Skip to content

Commit 96f8b77

Browse files
committed
📃 docs(README): Add description for missed option quoteKeys
1 parent d3d73a4 commit 96f8b77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ Aside from the features listed above, **showify** also supports many more specia
217217
| `sorted` | `boolean` | `false` | Whether to sort the keys of objects (including `Map`s and `Set`s) in the resulting string. |
218218
| `omittedKeys` | <code>Set&lt;string &#124; symbol&gt;</code> | `new Set()` | A set of keys to omit from the output. Note that this option is _not recursive_ and only omits the top-level keys. |
219219
| `quoteStyle` | <code>"single" &#124; "double" &#124; "backtick"</code> | `["double", "single", "backtick"]` | Preferred quote style for strings. If an array is provided, **showify** tries each quote style in order. |
220+
| `quoteKeys` | <code>"auto" &#124; "always"</code> | `"auto"` | Whether to quote object keys. If set to `"auto"`, object keys are quoted only when necessary. |
220221
| `numericSeparator` | <code>"none" &#124; string</code> | `"none"` | The thousands separator for numbers (including BigInts), e.g., `","` or `"_"`. If set to `"none"`, no separator is used. |
221222
| `trailingComma` | <code>"none" &#124; "always" &#124; "auto"</code> | `"none"` | Whether to add a trailing comma to the last element of an array or object. If set to `"auto"`, a trailing comma is added only when the last item is on a separate line. |
222223
| `arrayBracketSpacing` | `boolean` | `false` | Whether to add spaces inside the brackets of arrays. |

0 commit comments

Comments
 (0)