JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator
Convert an object or array into a formatted string
Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.
Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute
The best of both JSON.stringify(obj)
and JSON.stringify(obj, null, indent)
.