Skip to content

Instantly share code, notes, and snippets.

@neos1803
Created March 4, 2022 02:34
Show Gist options
  • Save neos1803/392df86b160bb79323ebe8447496896e to your computer and use it in GitHub Desktop.
Save neos1803/392df86b160bb79323ebe8447496896e to your computer and use it in GitHub Desktop.
Show complete data in console.log node js
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