loading...

Pretty printing objects with multiline strings in terminal with colors

Pacharapol Withayasakpunt on February 25, 2020

If you have use JavaScript for some time, you should notice that pretty printing JSON in Node.js is as simple as JSON.stringify(obj, null, 2). (Al... [Read Full]
markdown guide
 

Thanks for sharing. That Stack Overflow post with all of the colors listed out is very handy. I don't do a ton of node.js. I use a lot of python in the back end and really like the colorama package.

code of conduct - report abuse