How do I output an object?


Is there a way to output to the console the structure an object?

Can I display t in the console or somewhere else to see what options I have?

I want to see how do get a card, in badge scope and see what options I have for data…

For others looking, since I can’t delete my OP

  "card-buttons": function (t, opts) {
    return t.card("all").then(function (card) {
      console.log(JSON.stringify(card, null, 2));