News for hackers. Stuff that matters.
Re:Use console.log() like a pro (2020) by I_am_tiberius on Monday April 12, 2021 @12:48PM (#26781699)
Very important for backend is %j (e.g.: console.log('%j', variable); which can output complex json objects to the terminal. I often write it to the terminal and then copy it to an online json viewer so it is formatted in a viewable format.
Re:Use console.log() like a pro (2020) by sdfhbdf on Monday April 12, 2021 @03:31PM (#26784020)
Have you tried `jq`? https://stedolan.github.io/jq/

Maybe you can skip a step with pasting online.

Re:Use console.log() like a pro (2020) by rivn on Monday April 12, 2021 @04:08PM (#26784503)
Re:Use console.log() like a pro (2020) by I_am_tiberius on Monday April 12, 2021 @04:18PM (#26784625)
I did not. Thanks!