We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
depth
I wasn't able to find any documentation about the options. From the description, I would assume it works somewhat similar to Node.js inspect:
inspect
It's similar to Node.js' util.inspect() function, but it works cross platform, in most modern browsers as well as Node.
util.inspect()
But it looks like this package doesn't support depth option correctly. From my experience:
const nestedObj = { n: { a: { b: { c: { d: { e: '3' } } } } } } loupe(nestedObj) // prints this: // { n: { a: { b: { c: { d: { e: '3' } } } } } } util.inspect(nestedObj) // prints this: // { n: { a: { b: [Object] } } }
Is this intentional? If I pass down depth: 2 manually, I still get the full object printed.
depth: 2
The text was updated successfully, but these errors were encountered:
depth has yet to be implemented. PRs welcome!
Sorry, something went wrong.
No branches or pull requests
I wasn't able to find any documentation about the options. From the description, I would assume it works somewhat similar to Node.js
inspect
:But it looks like this package doesn't support
depth
option correctly. From my experience:Is this intentional? If I pass down
depth: 2
manually, I still get the full object printed.The text was updated successfully, but these errors were encountered: