Created
October 3, 2018 04:30
-
-
Save ChristianRich/6cfa2fdc6daaa921073c450be02e6925 to your computer and use it in GitHub Desktop.
Node.js output complex object to console without stringifying
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import util from 'util'; | |
console.log(util.inspect(myObject, false, null, true /* enable colors */)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment