Skip to Content
Table of Contents
Quick Take
Wrap an already wrapped value when prevention is disabled
Insert a break even when the previous line already contains one
Normalise a string setting to an array
Avoid adding a break after a line that already ends with one
Wrap flattened string values with custom markers
Inspect the exported flattening defaults
Disable wrapping across the complete input tree
Skip wrapping for keys that match a glob
Skip wrapping only at an exact nested path
Flatten an array with line breaks between rows
Flatten an object's keys and values to strings
Use HTML rather than XHTML line-break syntax
Leave an ignored key and its nested value unchanged
Merge array rows without inserting line breaks
Flatten input keys even when the reference has no matching key
Leave an unmatched input key unchanged
Throw when an input key is absent from the reference
Set the separator used by flattenObject
Keep values that already contain the wrapping markers
Leave templating statements unwrapped