Created
June 22, 2019 16:53
-
-
Save alexhwoods/8bfde4131e458c6d87bf759341df5576 to your computer and use it in GitHub Desktop.
Show entire object
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
const util = require('util') | |
module.exports = (obj) => util.inspect(obj, { showHidden: false, depth: null }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JSON.stringify
also works if it's just for printing