string.ify
string.ify copied to clipboard
Output gets mangled if objects contain long keys
If you try to pretty print an object with long keys the output will be garbled because it becomes far too wide for the terminal. An improvement would be to detect long keys and then truncate/wrap them with a setting to configure the length.