Created
March 4, 2022 02:34
-
-
Save neos1803/392df86b160bb79323ebe8447496896e to your computer and use it in GitHub Desktop.
Show complete data in console.log node js
This file contains 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
const util = require('util') | |
console.log(util.inspect(myObject, {showHidden: false, depth: null, colors: true})) | |
// alternative shortcut | |
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