0.3.2 • Published 10 years ago

y v0.3.2

Weekly downloads
447
License
MIT
Repository
github
Last release
10 years ago

#y Sometimes you just want to see the content of an object and not be to ugly and verbose about it. This is a simple node module to help with that.

Usage

require('y')(somethingToInpect)

You can inspect multiple objects.

require('y')(obj1, obj2);

The default recursion depth of an inspected object is 2. This can be change by calling the set() function with a new settings object.

require('y').set({depth: 4});
require('y')(obj);

To make it recurse indefinitely set depth to null.

var y = require('y').set({depth: null});
y(obj);