In the below code (running on Node JS) I am trying to print an object obtained from an external API using JSON.stringify which results in an error:
JSON.stringify
You can pass two arguments to console.log()
Try this code after installing "yargs" And it will print whole object
console.log('object is' , yargs.argv);
I think may be it will help you to print whole object :)