title: Can I get the string value of console.table in nodejs?
body: <p>I'm implementing a pretty format for my Winston logger, and was wondering If could use the Node.js method <code>console.table</code> to get the &quot;string&quot;?</p>
  <p>The method is void, but is there somehow I could the string representation?</p>
  <pre><code>const tableAsString = console.table([{foo: 'bar'}, {foo: 'bar2'}])
  // This does not work, table as string is undefined...
  </code></pre>