Skip to content

eliasgs/y

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#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);

About

Simple object inspection tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published