ddopson / underscore-cli

Command-line utility-belt for hacking JSON and Javascript.
Other
1.72k stars 83 forks source link

Feature Request: pretty-print arrays, multiple elements per line #65

Open jcornez opened 5 years ago

jcornez commented 5 years ago

When pretty-printing a json document that includes an array of many elements, each element of the array ends up on a separate line.

It would be nice if array element printing honored wrapWidth and so you could have multiple elements of the array on each line of output. The goal would be to have more compact output.