Whether to include array indices in paths (e.g., "items[0]" vs "items"). Provides more precise change tracking for arrays.
true
Whether to include unchanged paths in the diff results. Useful for seeing the complete structure comparison.
false
Maximum depth to traverse in nested objects. Prevents infinite recursion and controls performance.
10
Maximum string length before truncation in formatted output. Helps keep the output readable for large text values.
100
Whether to treat null values as equivalent to undefined. When true, transitions between null and undefined are not considered changes, and null values in the old object are treated as "not present" for new values. Useful for APIs where null and undefined are used interchangeably.
false
Optional valueCustom value formatter for the formatted output. Allows customization of how values are displayed.
The value to format
The type of the value
Formatted string representation
Configuration options for deep diff generation