Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 617 Bytes

readme.md

File metadata and controls

5 lines (3 loc) · 617 Bytes

I made this small library for myself to assist me in debugging code. I'm a big fan of prettyPrint, but one gripe I have with that library is that it's often hard to "get" the structure of an object just from a glance.

ListPrint will basically just dump out your variable in json format structured in a html list, which can be styled with CSS. The list elements are collapsible so you can navigate through your object like you do when inspecting it in Firebug.

Demo: http://jsfiddle.net/ajFgX/