Skip to content

A small javascript library that prints a variable to a html list in a readable and interactable manner, a glorified JSON.stringify if you will. Requires jQuery to run.

License

Notifications You must be signed in to change notification settings

Naatan/ListPrint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: https://jsfiddle.net/ajFgX/

About

A small javascript library that prints a variable to a html list in a readable and interactable manner, a glorified JSON.stringify if you will. Requires jQuery to run.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published